va_start macro — Starts getting arguments
void va_start(va_list& ap, lastNamedParm)
The va_start
macro
initializes ap
and prepares to
fetch function arguments with va_arg
. You must call va_end
to clean up and finalize ap
. The second argument to va_start
is the name of the function's
last parameter before the ellipsis. The last named parameter must
not have a function, array, or reference type.