Standard library header <stdarg.h> - cppreference.com (original) (raw)
This header provides support for varying arguments.
Types | |
---|---|
va_list | holds the information needed by va_start, va_arg, va_end, and va_copy (typedef) [edit] |
Macros | |
va_start | enables access to variadic function arguments (function macro) [edit] |
va_arg | accesses the next variadic function argument (function macro) [edit] |
va_copy(C99) | makes a copy of the variadic function arguments (function macro) [edit] |
va_end | ends traversal of the variadic function arguments (function macro) [edit] |
[edit] Synopsis
#define STDC_VERSION_STDARG_H 202311L typedef /unspecified/ va_list; /type/ va_arg(va_list ap, /type/); void va_copy(va_list dest, va_list src); void va_end(va_list ap); void va_start(va_list ap, ...);