source: buchla-68k/include/stdarg.h@ dfe4288

Last change on this file since dfe4288 was bfc0072, checked in by Thomas Lopatic <thomas@…>, 7 years ago

varargs.h -> stdarg.h.

  • Property mode set to 100644
File size: 414 bytes
Line 
1/*
2 =============================================================================
3 stdarg.h -- variable argument list macros
4 Version 1 -- 2017-07-07 -- Thomas Lopatic
5 =============================================================================
6*/
7
8typedef 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.