Contents|Index|Previous|Next

# Variable Argument Lists

The printf family of functions is defined to accept a variable number of arguments, rather than a fixed argument list. You can define your own functions with a variable argument list, by using macro definitions from either stdarg.h (for compatibility with ANSI standards for C) or from varargs.h (for compatibility with a popular convention prior to meeting ANSI standard requirements for C).