The
wctrans ();
function returns a value of type
Vt wctrans_t
which represents the requested wide character mapping operation and
may be used as the second argument for calls to
towctrans (.);
The following character mapping names are recognised:
tolowertoupper
The
towctrans ();
function transliterates the wide character
Fa wc
according to the mapping described by
Fa desc .
RETURN VALUES
The
towctrans ();
function returns the transliterated character if successful, otherwise
it returns the character unchanged and sets
errno
The
wctrans ();
function returns non-zero if successful, otherwise it returns zero
and sets
errno
EXAMPLES
Reimplement
towupper ();
in terms of
towctrans ();
and
wctrans (:);