wctrans(3C)
NAME
wctrans − define wide-character mapping
SYNOPSIS
#include <wctype.h> wctrans_t wctrans(const char ∗property);
DESCRIPTION
The wctrans() function constructs a value with type wctrans_t that describes a mapping between wide characters identified by the string argument property.
tolower and toupper shall be valid in all locales as property arguments to the wctrans() function.
RETURN VALUES
If property identifies a valid mapping of wide characters according the LC_CTYPE category of the current locale, the wctrans() function returns a nonzero value that is valid as the second argument to the towctrans(3C) function; otherwise, it returns 0.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
| MT-Level | MT-Safe with exceptions |
| CSI | Enabled |
SEE ALSO
setlocale(3C), towctrans(3C), attributes(5)
SunOS 5.6 — Last change: 20 Dec 1996