home *** CD-ROM | disk | FTP | other *** search
/ Amiga Elysian Archive / AmigaElysianArchive.iso / prog / c / dice206.lzh / netdcc / include / varargs.h < prev   
C/C++ Source or Header  |  1990-08-02  |  317b  |  18 lines

  1.  
  2. /*
  3.  *  VARARGS.H
  4.  *
  5.  *  (c)Copyright 1990, Matthew Dillon, All Rights Reserved
  6.  */
  7.  
  8. #ifndef _VARARGS_H
  9. #define _VARARGS_H
  10.  
  11. typedef char *va_list;
  12. #define va_dcl    int va_alist;
  13. #define va_start(list) list = (char *)&va_alist;
  14. #define va_end(list)
  15. #define va_arg(list,mode) ((mode *)(list += sizeof(mode)))[-1]
  16.  
  17. #endif
  18.