SW006014 Microchip Technology, SW006014 Datasheet - Page 109

C COMPILER MPLAB FOR PIC24 MCU

SW006014

Manufacturer Part Number
SW006014
Description
C COMPILER MPLAB FOR PIC24 MCU
Manufacturer
Microchip Technology
Type
MPLAB® C Compilerr
Series
PIC24r
Datasheet

Specifications of SW006014

Supported Families
PIC24
Core Architecture
PIC
Kit Contents
Software And Docs
Mcu Supported Families
PIC24
Tool Function
Compiler
Tool Type
Compiler
Processor Series
PIC24
Lead Free Status / RoHS Status
Not applicable / Not applicable
For Use With/related Products
PIC24
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 SW006014