Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

va_end - Terminate variable argument list

&pagelevel(4)&pagelevel

Definition

#include <stdarg.h>

void va_end(va_list arg_p);

Together with the va_start and va_arg macros, the va_end macro is used to process a list of arguments which may vary in number and type from function call to function call. A variable argument list is indicated in the formal parameter list of the function definition by ", ...".

va_end performs termination activities on variable argument list arg_p. The macro must be called before the return from a function whose argument list has been processed with va_start and va_arg.

va_end may change argument list arg_p so that it can no longer be used. If it is to be used again, therefore, the argument list must be re-initialized with va_start.

Example

See under va_arg

See also

va_arg, va_start