added std libs

This commit is contained in:
bellard
2001-11-11 02:54:21 +00:00
parent 507a221f7e
commit b536ac3068
3 changed files with 31 additions and 4 deletions

11
stdarg.h Normal file
View File

@ -0,0 +1,11 @@
#ifndef _STDARG_H
#define _STDARG_H
typedef char *va_list;
/* only correct for i386 */
#define va_start(ap,last) ap=(char *)&(last);
#define va_arg(ap,type) (ap-=sizeof (type), *(type *)(ap))
#define va_end(ap)
#endif