Name
wctrans
Synopsis
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.
Example
See the example for towctrans()
in this
chapter.
See Also
Get C in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.