This article is written like a manual or guide. (October 2013) |
C standard library (libc) |
---|
General topics |
Miscellaneous headers |
stdarg.h
is a header in the C standard library of the C programming language that allows functions to accept an indefinite number of arguments.[1] It provides facilities for stepping through a list of function arguments of unknown number and type. C++ provides this functionality in the header cstdarg
.
The contents of stdarg.h
are typically used in variadic functions, though they may be used in other functions (for example, vprintf
) called by variadic functions.
stdarg.h
". Retrieved 2009-07-04.