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 ac‐
15       cording to the transliteration descriptor desc.  If wc is WEOF, WEOF is
16       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 at‐
27       tributes(7).
28
29       ┌────────────────────────────────────────────┬───────────────┬─────────┐
30Interface                                   Attribute     Value   
31       ├────────────────────────────────────────────┼───────────────┼─────────┤
32towctrans()                                 │ Thread safety │ MT-Safe │
33       └────────────────────────────────────────────┴───────────────┴─────────┘
34

CONFORMING TO

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

NOTES

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

SEE ALSO

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

COLOPHON

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