16 lines
362 B
C
16 lines
362 B
C
/*
|
|
* stdarg.h
|
|
*
|
|
* defines ANSI style macros for accessing arguments of a function which takes
|
|
* a variable number of arguments
|
|
*
|
|
* Copyright (C) Microsoft Corporation, 1985, 1986
|
|
*
|
|
*/
|
|
|
|
typedef char *va_list;
|
|
|
|
#define va_start(ap,v) ap = (va_list)&v + sizeof(v)
|
|
#define va_arg(ap,t) ((t*)(ap += sizeof(t)))[-1]
|
|
#define va_end(ap) ap = NULL
|