2 *stdarg.h - defines ANSI-style macros for variable argument functions
4 * Copyright (c) 1985-1988, Microsoft Corporation. All rights reserved.
7 * This file defines ANSI-style macros for accessing arguments
8 * of functions which take a variable number of arguments.
11 *******************************************************************************/
13 #ifndef _VA_LIST_DEFINED
14 typedef char *va_list;
15 #define _VA_LIST_DEFINED
18 #define va_start(ap,v) ap = (va_list)&v + sizeof(v)
19 #define va_arg(ap,t) ((t *)(ap += sizeof(t)))[-1]
20 #define va_end(ap) ap = NULL