13.07.2015 Views

TASKING VX-toolset for ARM User Guide

TASKING VX-toolset for ARM User Guide

TASKING VX-toolset for ARM User Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Libraries13.2.29. wctype.hMost functions in wctype.h represent the wide-character variant of functions declared in ctype.h andare discussed in Section 13.2.4, ctype.h and wctype.h. In addition, this header file provides extensible,locale specific functions and wide character classification.wctype(*property) Constructs a value of type wctype_t that describes a class of wide charactersidentified by the string *property. If property identifies a valid class of wide charactersaccording to the LC_TYPE category (see Section 13.2.14, locale.h) of the currentlocale, a non-zero value is returned that can be used as an argument in theiswctype function.iswctype(wc,desc) Tests whether the wide character wc is a member of the class represented bywctype_t desc. Returns a non-zero value if tested true.Functioniswalnum(wc)iswalpha(wc)iswcntrl(wc)iswdigit(wc)iswgraph(wc)iswlower(wc)iswprint(wc)iswpunct(wc)iswspace(wc)iswupper(wc)iswxditig(wc)Equivalent to locale specific testiswctype(wc,wctype("alnum"))iswctype(wc,wctype("alpha"))iswctype(wc,wctype("cntrl"))iswctype(wc,wctype("digit"))iswctype(wc,wctype("graph"))iswctype(wc,wctype("lower"))iswctype(wc,wctype("print"))iswctype(wc,wctype("punct"))iswctype(wc,wctype("space"))iswctype(wc,wctype("upper"))iswctype(wc,wctype("xdigit"))wctrans(*property) Constructs a value of type wctype_t that describes a mapping between widecharacters identified by the string *property. If property identifies a valid mappingof wide characters according to the LC_TYPE category (see Section 13.2.14,locale.h) of the current locale, a non-zero value is returned that can be used as anargument in the towctrans function.towctrans(wc,desc) Trans<strong>for</strong>ms wide character wc into another wide-character, described by desc.Functiontowlower(wc)towupper(wc)Equivalent to locale specific trans<strong>for</strong>mationtowctrans(wc,wctrans("tolower")towctrans(wc,wctrans("toupper")13.3. C Library ReentrancySome of the functions in the C library are reentrant, others are not. The table below shows the functionsin the C library, and whether they are reentrant or not. A dash means that the function is reentrant. Note773

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!