Last change
on this file since 6dd74a9 was bfc0072, checked in by Thomas Lopatic <thomas@…>, 8 years ago |
varargs.h -> stdarg.h.
|
-
Property mode
set to
100644
|
File size:
414 bytes
|
Rev | Line | |
---|
[bfc0072] | 1 | /*
|
---|
| 2 | =============================================================================
|
---|
| 3 | stdarg.h -- variable argument list macros
|
---|
| 4 | Version 1 -- 2017-07-07 -- Thomas Lopatic
|
---|
| 5 | =============================================================================
|
---|
| 6 | */
|
---|
| 7 |
|
---|
| 8 | typedef char *va_list;
|
---|
| 9 |
|
---|
| 10 | #define va_start(ap, last) ap = (char *)&last + sizeof(last)
|
---|
| 11 | #define va_arg(ap, type) (ap += sizeof(type), ap[-1])
|
---|
| 12 | #define va_end(ap)
|
---|
| 13 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.