| Main index | Section 3 | Options |
#include <wctype.h>
The following character mapping names are recognised:
| tolower | toupper |
The towctrans() function transliterates the wide character wc according to the mapping described by desc.
The wctrans() function returns non-zero if successful, otherwise it returns zero and sets errno.
wint_t
mytowupper(wint_t wc)
{
return (towctrans(wc, wctrans("toupper")));
}
| [EINVAL] | |
| The supplied desc argument is invalid. | |
The wctrans() function will fail if:
| [EINVAL] | |
| The requested mapping name is invalid. | |
| WCTRANS (3) | October 3, 2002 |
| Main index | Section 3 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
| “ | Today, the Unix equivalent of a power drill would have 20 dials and switches, come with a nonstandard plug, require the user to hand-wind the motor coil, and not accept 3/8" or 7/8" drill bits (though this would be documented in the BUGS section of its instruction manual). | ” |
| — The Unix Haters' handbook | ||