start getting items from a variable argument list
#include <stdarg.h> void va_start( va_list param, previous );
The va_start() macro is used to start the acquisition of arguments from a list of variable arguments. The param argument is used by the va_arg() macro to locate the current acquired argument. The previous argument is the argument that immediately precedes the "..." notation in the original function definition. The va_start() macro must be used with the associated macros va_arg() and va_end(). See the description of va_arg() for complete documentation on these macros.
ANSI
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | Yes |
Thread | Yes |
va_start() is a macro.
va_arg(), va_end(), vfprintf(), vprintf(), vsprintf()