PCWHD IDE COMPILER Custom Computer Services Inc (CCS), PCWHD IDE COMPILER Datasheet - Page 310

PCWHD PIC10,16,18,24, DSPIC

PCWHD IDE COMPILER

Manufacturer Part Number
PCWHD IDE COMPILER
Description
PCWHD PIC10,16,18,24, DSPIC
Manufacturer
Custom Computer Services Inc (CCS)
Type
Compilerr
Datasheet

Specifications of PCWHD IDE COMPILER

For Use With/related Products
Microchip PIC10, PIC12, PIC16, PIC18, PIC24, dsPIC MCUs
Lead Free Status / RoHS Status
Not applicable / Not applicable
Other names
429-1009
strtol( )
Syntax:
Parameters:
Returns:
Function:
Availability:
Requires:
Examples:
Example Files:
Also See:
296
result=strtol(nptr,& endptr, base)
nptr and endptr are strings and base is an integer
result is a signed long int.
returns the converted value in result , if any. If no conversion could be performed,
zero is returned.
The strtol function converts the initial portion of the string pointed to by nptr to a
signed long int representation in some radix determined by the value of base.
The part of the string after conversion is stored in the object pointed to endptr,
provided that endptr is not a null pointer. If nptr is empty or does not have the
expected form, no conversion is performed and the value of nptr is stored in the
object pointed to by endptr, provided endptr is not a null pointer.
All devices.
#INCLUDE <stdlib.h>
signed long result;
char str[9]="123hello";
char *ptr;
result=strtol(str,&ptr,10);
//result is 123 and ptr is "hello"
None
strtod(),
strtoul()

Related parts for PCWHD IDE COMPILER