VA_ARG - obtain argument from variable list.

(ANSI Standard)

Usage:

#include <stdarg.h>
arg = va_arg(varlist,argtype);

Where:

va_list varlist;
represents a set of arguments passed to the function that contains the call to "va_arg". "varlist" must be set up with a call to "va_start" before calling "va_arg".
argtype
is the type of the argument that is being obtained.
arg
is the value of the argument that was obtained. The type of "arg" is given by "argtype".

Description:

"va_arg" is a macro that obtains the value of an argument in a "variable" set of arguments. For more information, see "expl c include stdarg".

Copyright © 1996, Thinkage Ltd.