1WCTRANS(3)                 Linux Programmer's Manual                WCTRANS(3)
2
3
4

NAME

6       wctrans - wide character translation mapping
7

SYNOPSIS

9       #include <wctype.h>
10
11       wctrans_t wctrans(const char *name);
12

DESCRIPTION

14       The  wctrans_t type represents a mapping which can map a wide character
15       to another wide character. Its nature is implementation dependent,  but
16       the  special  value  (wctrans_t) 0  denotes an invalid mapping. Nonzero
17       wctrans_t values can be passed to the towctrans() function to  actually
18       perform the wide character mapping.
19
20       The wctrans() function returns a mapping, given by its name. The set of
21       valid names depends on the LC_CTYPE category of the current locale, but
22       the following names are valid in all locales.
23         "tolower" - realizes the tolower(3) mapping
24         "toupper" - realizes the toupper(3) mapping
25

RETURN VALUE

27       The  wctrans()  function  returns  a  mapping descriptor if the name is
28       valid. Otherwise it returns (wctrans_t)0.
29

CONFORMING TO

31       C99.
32

SEE ALSO

34       towctrans(3)
35

NOTES

37       The behaviour of wctrans() depends on the LC_CTYPE category of the cur‐
38       rent locale.
39
40
41
42GNU                               1999-07-25                        WCTRANS(3)
Impressum