The following functions, macros, and classes are provided in stdarg.h:
Name |
Description |
Header File stdarg.h Category Variable Argument List Routines Prototype void va_start(va_list ap, lastfix); type va_arg(va_list ap, type); void va_end(va_list ap); Description Implement a variable argument list. Some C functions, such as vfprintf and vprintf, take variable argument lists in addition to taking a number of fixed (known) parameters. The va_arg, va_end, and va_start macros provide a portable way to access these argument lists. They are used for stepping through a list of arguments when the called function does not know the number and types of the arguments being passed. The header file stdarg.h declares one type (va_list) and... more |
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|