Category : C Source Code
Archive   : DMAKE38B.ZIP
Filename : STDARG.H

 
Output of file : STDARG.H contained in archive : DMAKE38B.ZIP
/*
* stdarg.h
*
* defines ANSI style macros for accessing arguments of a function which takes
* a variable number of arguments
*
*/

#if !defined(__STDARG)
#define __STDARG

#if !defined(ZTC)
#define __ss
#endif

typedef char __ss *va_list;

#define va_dcl int va_alist
#define va_start(ap,v) ap = (va_list)&va_alist
#define va_arg(ap,t) ((t*)(ap += sizeof(t)))[-1]
#define va_end(ap) ap = NULL
#endif


  3 Responses to “Category : C Source Code
Archive   : DMAKE38B.ZIP
Filename : STDARG.H

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/