wctrans


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( )



C(c) In a Nutshell
C in a Nutshell (In a Nutshell (OReilly))
ISBN: 0596006977
EAN: 2147483647
Year: 2006
Pages: 473

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net