stdarg.h 447 B

123456789101112131415161718
  1. /*
  2. * stdarg.h - variable arguments
  3. *
  4. * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
  5. * See the copyright notice in the ACK home directory, in the file "Copyright".
  6. */
  7. /* $Header$ */
  8. #ifndef _STDARG_HEADER_
  9. #define _STDARG_HEADER_
  10. typedef char *va_list;
  11. #define va_start(ap, parmN) (ap = (char *)&parmN)
  12. #define va_arg(ap, type) ((type *)(ap += sizeof(type)))[0]
  13. #define va_end(ap)
  14. #endif /* _STDARG_HEADER_ */