stdarg.h
Sign in to saveAlso known as cstdarg, <stdarg.h>, <cstdarg>
'''''' is a header in the C standard library of the C programming language that allows functions to accept an indefinite number of arguments. It provides facilities for stepping through a list of function arguments of unknown number and type. C++ provides this functionality in the header .
In the Vinony graph
Within Vinony's link graph, stdarg.h is referenced by 81 other articles, and connects out to C, GNU C Library and ANSI C.
It is catalogued under the topic C standard library headers.
Its subject is documented across 7 Wikipedia language editions.
~7 min read
Encyclopedic overview
9 sectionsContents
- Creating variadic functions
- stdarg.h types
- stdarg.h macros
- Accessing the arguments
- Passing unnamed arguments to other calls
- Type safety
- Example
- {{mono|<varargs.h>}}
- References
'''' is a header in the C standard library of the C programming language that allows functions to accept an indefinite number of arguments. It provides facilities for stepping through a list of function arguments of unknown number and type. C++ provides this functionality in the header .
The contents of are typically used in variadic functions, though they may be used in other functions (for example, vprintf) called by variadic functions.
Excerpted from Wikipedia’s “stdarg.h” article, available under the CC BY-SA 4.0 licence.