va_end Macro

Ends the use of ap.

Include

<stdarg.h>

Prototype

#define va_end(va_list ap)

Argument

ap pointer to list of arguments

Remarks

After a call to va_end, the argument list pointer, ap, is considered to be invalid. Further calls to va_arg should not be made until the next va_start. In the 16-bit compiler, va_end does nothing, so this call is not necessary but should be used for readability and portability.

Example

See va_arg.