description | title | ms.date | f1_keywords | helpviewer_keywords | ms.assetid | |||
---|---|---|---|---|---|---|---|---|
Learn more about: Argument access |
Argument access |
04/04/2018 |
|
|
7046ae34-a0ec-44f0-815d-3209492a3e19 |
The va_arg
, va_end
, and va_start
macros provide access to function arguments when the number of arguments is variable. These macros are defined in <stdarg.h> for ANSI/ISO C compatibility and in <varargs.h> for compatibility with UNIX System V.
Macro | Use |
---|---|
va_arg |
Retrieve argument from list |
va_end |
Reset pointer |
va_start |
Set pointer to beginning of argument list |