#include <stdarg.h>
type va_arg (
argptr, /* optional argument list */
type); /* type of next argument */
Description
The va_arg macro is used to extract subsequent arguments
from a variable-length argument list referenced by argptr. The type argument specifies the
data type of the argument to extract. This macro may be called only
once for each argument and must be called in the order of the
parameters in the argument list.
The first call to va_arg returns the first argument after
the prevparm argument specified in the
va_start macro. Subsequent calls to va_arg return the
remaining arguments in succession.
Return Value
The va_arg macro returns the value for the specified
argument type.
This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.
ARM websites use two types of cookie: (1) those that enable the site to function and perform as required; and (2) analytical cookies which anonymously track visitors only while using the site. If you are not happy with this use of these cookies please review our Privacy Policy to learn how they can be disabled. By disabling cookies some features of the site will not work.