1towctrans(3) Library Functions Manual towctrans(3)
2
3
4
6 towctrans - wide-character transliteration
7
9 Standard C library (libc, -lc)
10
12 #include <wctype.h>
13
14 wint_t towctrans(wint_t wc, wctrans_t desc);
15
17 If wc is a wide character, then the towctrans() function translates it
18 according to the transliteration descriptor desc. If wc is WEOF, WEOF
19 is returned.
20
21 desc must be a transliteration descriptor returned by the wctrans(3)
22 function.
23
25 The towctrans() function returns the translated wide character, or WEOF
26 if wc is WEOF.
27
29 For an explanation of the terms used in this section, see at‐
30 tributes(7).
31
32 ┌────────────────────────────────────────────┬───────────────┬─────────┐
33 │Interface │ Attribute │ Value │
34 ├────────────────────────────────────────────┼───────────────┼─────────┤
35 │towctrans() │ Thread safety │ MT-Safe │
36 └────────────────────────────────────────────┴───────────────┴─────────┘
37
39 C11, POSIX.1-2008.
40
42 POSIX.1-2001, C99.
43
45 The behavior of towctrans() depends on the LC_CTYPE category of the
46 current locale.
47
49 towlower(3), towupper(3), wctrans(3)
50
51
52
53Linux man-pages 6.04 2023-03-30 towctrans(3)