 | Cx51 User's Guide |  |
|
|
| Variable Length Argument Routines| Routine | Attributes | Description |
|---|
| va_arg | reentrant | Retrieves an argument from an argument list. | | va_end | reentrant | Resets an argument pointer. | | va_start | reentrant | Sets a pointer to the beginning of an argument list. |
The variable-length argument list routines are implemented as macros and are defined in the stdarg.h include file. These routines provide a portable method of accessing arguments in functions that take a variable number of arguments. These macros conform to the ANSI C Standard for variable-length argument lists. |
|