va_start Macro

Sets the argument pointer ap to first optional argument in the variable-length argument list.

Include

<stdarg.h>

Prototype

#define va_start(va_list ap, last_arg)

Arguments

ap
pointer to list of arguments
last_arg
last named parameter before the optional arguments

Example

See va_arg.