root / lab4 / .minix-src / include / c++ / cstdarg @ 14
History | View | Annotate | Download (890 Bytes)
1 |
// -*- C++ -*- |
---|---|
2 |
//===--------------------------- cstdarg ----------------------------------===// |
3 |
// |
4 |
// The LLVM Compiler Infrastructure |
5 |
// |
6 |
// This file is dual licensed under the MIT and the University of Illinois Open |
7 |
// Source Licenses. See LICENSE.TXT for details. |
8 |
// |
9 |
//===----------------------------------------------------------------------===// |
10 |
|
11 |
#ifndef _LIBCPP_CSTDARG |
12 |
#define _LIBCPP_CSTDARG |
13 |
|
14 |
/* |
15 |
cstdarg synopsis |
16 |
|
17 |
Macros: |
18 |
|
19 |
type va_arg(va_list ap, type); |
20 |
void va_copy(va_list dest, va_list src); // C99 |
21 |
void va_end(va_list ap); |
22 |
void va_start(va_list ap, parmN); |
23 |
|
24 |
namespace std |
25 |
{ |
26 |
|
27 |
Types: |
28 |
|
29 |
va_list |
30 |
|
31 |
} // std |
32 |
|
33 |
*/ |
34 |
|
35 |
#include <__config> |
36 |
#include <stdarg.h> |
37 |
|
38 |
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) |
39 |
#pragma GCC system_header |
40 |
#endif |
41 |
|
42 |
_LIBCPP_BEGIN_NAMESPACE_STD |
43 |
|
44 |
using ::va_list; |
45 |
|
46 |
_LIBCPP_END_NAMESPACE_STD |
47 |
|
48 |
#endif // _LIBCPP_CSTDARG |