| 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.
| “ | If you sat a monkey down in front of a keyboard, the first thing typed would be a unix command. | ” |
| — Bill Lye | ||