home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Vectronix 2
/
VECTRONIX2.iso
/
FILES_01
/
LATTIC_3.LZH
/
HEADERS
/
VARARGS.H
< prev
next >
Wrap
C/C++ Source or Header
|
1990-09-24
|
399b
|
22 lines
/*
* varargs.h - UNIX variable argument mechanism
*
* Started 3/12/89 Alex G. Kiernan
*
* Copyright (c) 1989 HiSoft
*/
#ifndef _VARARGS_H
#define _VARARGS_H
#ifndef _VA_LIST
#define _VA_LIST
typedef char *va_list;
#endif
#define va_dcl va_list va_alist;
#define va_start(a) a=(va_list)&va_alist
#define va_arg(a,b) ((b *)(a+=sizeof(b)))[-1]
#define va_end(ap)
#endif