PCDIDE COMPILER Custom Computer Services Inc (CCS), PCDIDE COMPILER Datasheet - Page 318

PCD C-COMPILER PIC24, DSPIC

PCDIDE COMPILER

Manufacturer Part Number
PCDIDE COMPILER
Description
PCD C-COMPILER PIC24, DSPIC
Manufacturer
Custom Computer Services Inc (CCS)
Type
Compilerr
Datasheet

Specifications of PCDIDE COMPILER

For Use With/related Products
Microchip PIC24/dsPIC®
Lead Free Status / RoHS Status
Not applicable / Not applicable
Other names
429-1008
va_start
Syntax:
Parameters:
Returns:
Function:
Availability:
Requires:
Examples:
Example Files:
Also See:
304
va_start(argptr, variable)
argptr is a special argument pointer of type va_list
variable – The second parameter to va_start() is the name of the last parameter
before the variable-argument list.
None
The function will initialize the argptr using a call to the macro va_start().
All devices.
#INCLUDE <stdarg.h>
int foo(int num, ...)
{
int sum = 0;
int i;
va_list argptr;
va_start(argptr,num);
for(i=0; i<num; i++)
va_end(argptr);
return sum;
}
None
nargs(), va_start(),
sum = sum + va_arg(argptr, int);
va_arg()
// create special argument pointer
// end variable processing
// initialize argptr

Related parts for PCDIDE COMPILER