Argument access
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.
Argument-access macros
Macro | Use |
---|---|
va_arg |
Retrieve argument from list |
va_end |
Reset pointer |
va_start |
Set pointer to beginning of argument list |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for