![]() Chapter Contents |
![]() Previous |
![]() Next |
| va_end |
| Portability: | ISO/ANSI C conforming |
| SYNOPSIS | |
| DESCRIPTION | |
| RETURN VALUE | |
| EXAMPLE | |
| RELATED FUNCTIONS | |
| SEE ALSO |
| 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 |
| RELATED FUNCTIONS |
| SEE ALSO |
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright © 2001 by SAS Institute Inc., Cary, NC, USA. All rights reserved.