va_end()

Updated: April 19, 2023

Finish getting items from a variable argument list

Synopsis:

#include <stdarg.h>

void va_end( va_list param );

Arguments:

param
The va_list object that you initialized with the va_start() macro.

Library:

libc

Use the -l c option to qcc to link against this library. This library is usually included automatically.

Description:

Use the va_end() macro to complete the acquisition of arguments from a list of variable arguments. You must use it with the associated macros va_copy(), va_start(), and va_arg(). For more information, see va_arg().

Classification:

POSIX 1003.1

Safety:  
Cancellation point No
Interrupt handler Yes
Signal handler Yes
Thread Yes

Caveats:

va_end() is a macro.