Contents|Index|Previous|Next

va_arg
[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.

COMPLIANCE
The va_arg defined in varargs.h has the same syntax and usage as the ANSI C version from stdarg.h.