Share via


Argument Access

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at 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 .NET Framework equivalent
va_arg Retrieve argument from list System::ParamArrayAttribute Class
va_end Reset pointer System::ParamArrayAttribute Class
va_start Set pointer to beginning of argument list System::ParamArrayAttribute Class

See Also

Run-Time Routines by Category