The GNU C Library - How Variadic

Node: How Variadic Next: Variadic Example Prev: Why Variadic Up: Variadic Functions

How Variadic Functions are Defined and Used

Defining and using a variadic function involves three steps:

Variadic Prototypes How to make a prototype for a function
with variable arguments.
Receiving Arguments Steps you must follow to access the
optional argument values.
How Many Arguments How to decide whether there are more arguments.
Calling Variadics Things you need to know about calling
variable arguments functions.
Argument Macros Detailed specification of the macros
for accessing variable arguments.
Old Varargs The pre-ANSI way of defining variadic functions.


Next: Variadic Example Up: Variadic Functions