home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / c / sozobon / sozlib15.zoo / sozdistr / include / xdlibs / stdarg.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-07-30  |  356 b   |  17 lines

  1. /*
  2.  * @(#)stdarg.h, XdLibs, SozobonX
  3.  * 
  4.  */
  5.  
  6. #ifndef _STDARG_H
  7. #define    _STDARG_H
  8.  
  9. typedef    void    *va_list;
  10.  
  11. #define va_start(list,param)  list = ((va_list) &(param)) \
  12.                    + ((sizeof(param) + 1) & ~1)
  13. #define va_arg(list,type)     ((type *)(list += ((sizeof(type) + 1) & ~1)))[-1]
  14. #define va_end(list)          list = ((va_list) 0)
  15.  
  16. #endif     /* _STDARG_H    */
  17.