Defined in header <stdarg.h> | ||
void va_end( va_list ap); | ||
Theva_end macro performs cleanup for anap object initialized by a call tova_start orva_copy.va_end may modifyap so that it is no longer usable.
If there is no corresponding call tova_start orva_copy, or ifva_end is not called before a function that callsva_start orva_copy returns, the behavior is undefined.
Contents |
| ap | - | an instance of theva_list type to clean up |
(none)
| accesses the next variadic function argument (function macro)[edit] | |
(C99) | makes a copy of the variadic function arguments (function macro)[edit] |
| holds the information needed byva_start,va_arg,va_end, andva_copy (typedef)[edit] | |
| enables access to variadic function arguments (function macro)[edit] | |
C++ documentation forva_end | |