VAARGS Functions in C take a variable amount of arguments, functions such as printf and sprintf, these function use VAARGS which allow a function to read the arguments passed from an ellipsis parameter (...). Note all va functions are implemented as macroes.
Defines | |
#define | va_start(v, l) __builtin_stdarg_start((v),l) |
#define | va_end __builtin_va_end |
#define | va_arg __builtin_va_arg |
#define | va_copy(d, s) __builtin_va_copy((d),(s)) |
Typedefs | |
typedef __builtin_va_list | __gnuc_va_list |
typedef __gnuc_va_list | va_list |
|
va_start Sets the va parameter to the first parameter |
|
va_end A house keeping function that must be used when your finished with va args. |
|
va_arg Accesses a functions variable argument list |
|
|
|
|
|
|