Export (0) Print
Expand All
0 out of 1 rated this helpful - Rate this topic

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 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

Run-Time Routines by Category | Run-Time Routines and .NET Framework Equivalents

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.