wconv(3S)wconv(3S)NAME
wconv: towupper, towlower, wctrans, towctrans - translation character
functions and extensible translation functions
SYNOPSIS
#include <ctype.h>
#include <widec.h>
#include <wctype.h>
win_t towupper(win_t c);
win_t towlower(win_t c);
wctrans_t wctrans(const char *property);
wint_t towctrans(wint_t wc, wctrans_t desc);
DESCRIPTION
If the argument to towupper represents a lowercase letter of the ASCII or
supplementary code sets, the result is the corresponding uppercase
letter. If the argument to towlower represents an uppercase letter of
the ASCII or supplementary code sets, the result is the corresponding
lowercase letter. In the case of all other arguments, the return value
is unchanged. The table used for translation is generated by
wchrtbl(1M).
The wctrans function and towctrans function are extensible wide character
translation functions. The wctrans function returns a nonzero value of
wctrans_t type that describes a translation between wide characters
identified by the argument property, if the value is valid as the second
argument to the towctrans function. Otherwise it returns zero. tolower
and toupper are available property names. The towctrans function returns
the translated value of wc using the translation described by desc.
NOTES
wctrans and towctrans are available with n32 and 64 C libraries for IRIX
6.5.17 or later versions.
SEE ALSOwchrtbl(1M), conv(3C), wctype(3S).
Page 1