OAR

RTEMS GNU Tools On-Line Library


Varargs

PREV UP next Bookshelf

11.2: Traditional macros, `varargs.h'

If your C compiler predates ANSI C, you may still be able to use variable argument lists using the macros from the `varargs.h' header file. These macros resemble their ANSI counterparts, but have important differences in usage. In particular, since traditional C has no declaration mechanism for variable argument lists, two additional macros are provided simply for the purpose of defining functions with variable argument lists.

As with `stdarg.h', the type va_list is used to hold a data structure representing a variable argument list.

  • va_alist
  • va_start-trad
  • va_arg-trad
  • va_end-trad

  • PREV UP next Bookshelf

    Packaging copyright © 1988-2000 OAR Corporation
    Context copyright by each document's author. See Free Software Foundation for information.