December 2005
Beginner to intermediate
618 pages
20h 19m
English
wctrans
Provides a transformation argument for towctrans()
#include <wctype.h> wctrans_twctrans( const char *property);
The wctrans() function
obtains a value of type wctrans_t
that you can use as an argument to the towctrans() function, and that represents
a wide character mapping in the current locale. The permissible
values of the string argument property
depend on the current locale setting for the LC_CTYPE category, but "tolower" and "toupper" are permissible values in all
locales. If the string addressed by
property does not identify a valid
mapping, wctrans() returns
0.
See the example for towctrans() in this
chapter.
Read now
Unlock full access