Caution: This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.

va_end()

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.

See also:

va_arg(), va_copy(), va_start()