SilverScreen Solid Modeler

va_start

va_start

Previous topic Next topic  

va_start

Previous topic Next topic JavaScript is required for the print function  

StandardCLibrary

 

void va_start( va_list args, <last arg name> )

 

va_list args;           /* variable argument list */

<last arg name>;        /* name of last named argument */

 

 




Synopsis

#include "stdarg.h"

 

The va_start macro initializes the variable argument pointer args with the address of the first (named or unnamed) argument following the named argument <last arg name>.

 

 

Parameters

args is the address of a va_list , used to hold the current location in a list of unnamed parameters.

 

 

Return Value

args is the address of a va_list , used to hold the current location in a list of unnamed parameters.

 

 

Comments

va_start must be called before any calls to va_arg or va_end . See the entry for va_arg for more information on the stdarg facility.

 

 

See Also

va_arg, va_end