Variable-Length Argument Lists

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 to a function that takes a variable number of arguments. These macros conform to the ANSI C Standard for variable-length argument lists.