PCD COMMAND LINE COMPILER Custom Computer Services Inc (CCS), PCD COMMAND LINE COMPILER Datasheet - Page 181

PCD C-COMPILER PIC24, DSPIC

PCD COMMAND LINE COMPILER

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

Specifications of PCD COMMAND LINE COMPILER

For Use With/related Products
Microchip PIC24/dsPIC®
Lead Free Status / RoHS Status
Not applicable / Not applicable
Other names
429-1007
calloc( )
Syntax:
Parameters:
Returns:
Function:
Availability:
Requires:
Examples:
Example Files:
Also See:
ceil( )
Syntax:
Parameters:
Returns:
Function:
Availability:
Requires:
Examples:
Example Files:
Also See:
ptr=calloc(nmem, size)
nmem is an integer representing the number of member objects, and size is the
number of bytes to be allocated for each one of them.
A pointer to the allocated memory, if any. Returns null otherwise.
The calloc function allocates space for an array of nmem objects whose size is
specified by size. The space is initialized to all bits zero.
All devices
#INCLUDE <stdlibm.h>
int * iptr;
iptr=calloc(5,10);
// iptr will point to a block of memory of
// 50 bytes all initialized to 0.
None
realloc(), free(),
result = ceil (value)
value is any float type
A float with precision equal to value
Computes the smallest integer value greater than the argument. CEIL(12.67) is 13.00.
All devices
#INCLUDE<math.h>
// Calculate cost based on weight rounded
// up to the next pound
cost = ceil( weight ) * DollarsPerPound;
None
floor()
malloc()
167

Related parts for PCD COMMAND LINE COMPILER