towctrans(3C) towctrans(3C)
NAME
towctrans - wide-character mapping
SYNOPSIS
#include <wctype.h>
wintt towctrans(wintt wc, wctranst desc);
DESCRIPTION
The towctrans() function maps the wide-character wc using the mapping
described by desc. The current setting of the LCCTYPE category shall
be the same as during the call to towctrans() that returned the value
desc.
Each of the following two strings behaves the same as the call to the
wide-character case-mapping function wctrans(3C) in the comment that
follows the string:
towctrans(wc, wctrans("tolower")) /* tolower(wc) */
towctrans(wc, wctrans("toupper")) /* toupper(wc) */
RETURN VALUES
The towctrans() function returns the mapped value of wc using the map-
ping described by desc.
SEE ALSO
wctrans(3C), locale(5), wctype(5).
Page 1 Reliant UNIX 5.44 Printed 11/98