va_end -- End Varying Text-Length Argument List Processing

SYNOPSIS

 #include <stdarg.h>

 void va_end(va_list ap);
 

DESCRIPTION

va_end completes processing of a varying-length argument list. The argument ap is a work area of type va_list, which is used by the expansions of the various <stdarg.h> macros.

After va_end is called, va_start must be called again before you can use va_arg.

RETURN VALUE

va_end has no return value.

In this implementation, using va_end in varying-length argument list processing is not required. However, in other implementations, failure to issue va_end may cause program failures on return from the function that issued va_start.

EXAMPLE

See the example for va_arg.

RELATED FUNCTIONS

va_arg, va_start

SEE ALSO

Varying-Length Argument List Functions

Copyright (c) 1998 SAS Institute Inc. Cary, NC, USA. All rights reserved.