home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 2: PC / frozenfish_august_1995.bin / bbs / d03xx / d0340.lha / NorthC / NorthC.lzh / include / stdarg.h < prev    next >
C/C++ Source or Header  |  1990-02-27  |  320b  |  16 lines

  1. /*
  2.  * STDARG.H
  3.  */
  4.  
  5. #ifndef STDARG_H
  6. #define    STDARG_H
  7.  
  8. typedef    char    *va_list;
  9.  
  10. #define va_start(list,param)  list = ((va_list) &(param)) \
  11.                    + ((sizeof(param) + 1) & ~1)
  12. #define va_arg(list,type)     ((type *)(list += ((sizeof(type) + 1) & ~1)))[-1]
  13. #define va_end(list)          list = ((va_list) 0)
  14.  
  15. #endif STDARG_H
  16.