VA_ARG-TRAD(3) NEWLIB VA_ARG-TRAD(3)NAME
15.2.3 Extract a value from argument list
-----------------------------------------
SYNOPSIS
#include <varargs.h>
TYPE va_arg(va_list AP, TYPE);
DESCRIPTION
`va_arg' returns the next unprocessed value from a variable argument
list AP (which you must previously create with VA_START). Specify the
type for the value as the second parameter to the macro, TYPE.
RETURNS
`va_arg' returns the next argument, an object of type TYPE.
PORTABILITY
The `va_arg' defined in `varargs.h' has the same syntax and usage as
the ANSI C version from `stdarg.h'.
SEE ALSOva_arg-trad is part of the library. The full documentation for is
maintained as a Texinfo manual. If info and are properly installed at
your site, the command
info
will give you access to the complete manual.
NEWLIB April 2010 VA_ARG-TRAD(3)