SW006013 Microchip Technology, SW006013 Datasheet - Page 109

MPLAB C Compiler For DsPIC DSCs

SW006013

Manufacturer Part Number
SW006013
Description
MPLAB C Compiler For DsPIC DSCs
Manufacturer
Microchip Technology
Series
DsPIC30F/33Fr
Type
MPLAB® C Compilerr
Datasheet

Specifications of SW006013

Supported Families
DsPIC30F, DsPIC33F
Core Architecture
DsPIC
Kit Contents
Software And Docs
Mcu Supported Families
DsPIC30F And DsPIC33F
Tool Function
Compiler
Tool Type
Compiler
Processor Series
dsPIC
Lead Free Status / RoHS Status
na
For Use With/related Products
dSPIC DSCs
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
© 2008 Microchip Technology Inc.
mblen
Description:
Include:
Prototype:
Arguments:
Return Value:
Remarks:
mbstowcs
Description:
Include:
Prototype:
Arguments:
Return Value:
Remarks:
mbtowc
Description:
Include:
Prototype:
Arguments:
Return Value:
Remarks:
Gets the length of a multibyte character. (See Remarks.)
<stdlib.h>
int mblen(const char *s, size_t n);
s
n
Returns zero if s points to a null character; otherwise, returns 1.
The 16-bit compiler does not support multibyte characters with length
greater than 1 byte.
Converts a multibyte string to a wide character string. (See Remarks.)
<stdlib.h>
size_t mbstowcs(wchar_t *wcs, const char *s,
size_t n);
wcs
s
n
Returns the number of wide characters stored excluding the null char-
acter.
mbstowcs converts n number of wide characters unless it encounters
a null wide character first. The 16-bit compiler does not support
multibyte characters with length greater than 1 byte.
Converts a multibyte character to a wide character. (See Remarks.)
<stdlib.h>
int mbtowc(wchar_t *pwc, const char *s, size_t n);
pwc
s
n
Returns zero if s points to a null character; otherwise, returns 1
The resulting wide character will be stored at pwc. The 16-bit compiler
does not support multibyte characters with length greater than 1 byte.
points to the multibyte character
number of bytes to check
points to the wide character string
points to the multibyte string
the number of wide characters to convert.
points to the wide character
points to the multibyte character
number of bytes to check
DS51456E-page 105

Related parts for SW006013