Previous Page
Next Page

wctrans

Provides a transformation argument for towctrans( )

#include <wctype.h>
wctrans_t wctrans ( 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

towctrans( ), towupper( ), towlower( )


Previous Page
Next Page