/* Copyright 1989, 1990, 1992 Digital Equipment Corporation All rights reserved. This software is furnished under a license and may be used and copied only in accordance with the terms of such license and with the inclusion of the above copyright notice. This software and any copies shall not be provided to any other person. No title to or ownership of the software is hereby transferred. The information in this software is subject to change without notice. DIGITAL assumes no responsibility for the use, functionality or reliability of its software on equipment which is not supplied by DIGITAL. stdarg.h Definition file for access to variable length argument lists specified via the ellipsis notation in a function prototype */ #ifndef __STDARG_H #define __STDARG_H /* Typedef Definitions: */ typedef char * va_list; /* Macro Definitions: */ #define va_start( ap, parmN ) \ (void)( (ap) = (va_list) ((int) &(parmN) + ((sizeof (parmN) + 1) & ~1)) ) #define va_arg( ap, type ) \ ( (ap) = (va_list) ((int) (ap) + ((sizeof (type) + 1) & ~1)), \ *( type *) ((int) (ap) - ((sizeof (type) + 1) & ~1)) ) #define va_end(ap) (void)( (ap) = (va_list) 0 ) #endif