SyterKit 0.4.0.x
SyterKit is a bare-metal framework
Loading...
Searching...
No Matches
stdarg.h
Go to the documentation of this file.
1#ifndef __STDARG_H__
2#define __STDARG_H__
3
4#ifdef __cplusplus
5extern "C" {
6#endif
7
8typedef __builtin_va_list va_list;
9
10/*
11 * prepare to access variable args
12 */
13#define va_start(v, l) __builtin_va_start(v, l)
14
15/*
16 * the caller will get the value of current argument
17 */
18#define va_arg(v, l) __builtin_va_arg(v, l)
19
20/*
21 * end for variable args
22 */
23#define va_end(v) __builtin_va_end(v)
24
25/*
26 * copy variable args
27 */
28#define va_copy(d, s) __builtin_va_copy(d, s)
29
30#ifdef __cplusplus
31}
32#endif
33
34#endif /* __STDARG_H__ */
__builtin_va_list va_list
Definition stdarg.h:4