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

NAME

6       towctrans - wide-character transliteration
7

SYNOPSIS

9       #include <wctype.h>
10
11       wint_t towctrans(wint_t wc, wctrans_t desc);
12

DESCRIPTION

14       If  wc  is  a  wide  character,  the towctrans() function translates it
15       according to the transliteration descriptor desc.  If wc is WEOF,  WEOF
16       is returned.
17
18       desc  must  be  a transliteration descriptor returned by the wctrans(3)
19       function.
20

RETURN VALUE

22       The towctrans() function returns the translated wide character, or WEOF
23       if wc is WEOF.
24

ATTRIBUTES

26       For   an   explanation   of   the  terms  used  in  this  section,  see
27       attributes(7).
28
29       ┌────────────┬───────────────┬─────────┐
30Interface   Attribute     Value   
31       ├────────────┼───────────────┼─────────┤
32towctrans() │ Thread safety │ MT-Safe │
33       └────────────┴───────────────┴─────────┘

CONFORMING TO

35       POSIX.1-2001, POSIX.1-2008, C99.
36

NOTES

38       The behavior of towctrans() depends on the  LC_CTYPE  category  of  the
39       current locale.
40

SEE ALSO

42       towlower(3), towupper(3), wctrans(3)
43

COLOPHON

45       This  page  is  part of release 4.15 of the Linux man-pages project.  A
46       description of the project, information about reporting bugs,  and  the
47       latest     version     of     this    page,    can    be    found    at
48       https://www.kernel.org/doc/man-pages/.
49
50
51
52GNU                               2015-08-08                      TOWCTRANS(3)
Impressum