repo.or.cz
/
neatlibc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
add stdarg.h
[neatlibc.git]
/
stdarg.h
blob
d6afcc47878c4003a19951a6df83152ff57cd105
1
#ifndef _STDARG_H
2
#define _STDARG_H
3
4
typedef
void
*
va_list
;
5
6
void
*
__va_arg
(
void
**
ap
,
int
size
);
7
8
#define va_start(ap, last) ((ap) = (void *) (&(last) + 1))
9
#define va_arg(ap, type) (*(type *) __va_arg(&(ap), sizeof(type)))
10
#define va_end(ap) ((ap) = (void *) 0)
11
12
#endif