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
unistd.h: use long in read() and write() prototypes
[neatlibc.git]
/
stdarg.h
blob
b9b9a709a095050e6a60574732385b8ae5c4f6d1
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)) + sizeof(long))
9
#define va_arg(ap, type) (*(type *) __va_arg(&(ap), sizeof(type)))
10
#define va_end(ap) ((ap) = (void *) 0)
11
12
#endif