1towctrans(3)               Library Functions Manual               towctrans(3)
2
3
4

NAME

6       towctrans - wide-character transliteration
7

LIBRARY

9       Standard C library (libc, -lc)
10

SYNOPSIS

12       #include <wctype.h>
13
14       wint_t towctrans(wint_t wc, wctrans_t desc);
15

DESCRIPTION

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

RETURN VALUE

25       The towctrans() function returns the translated wide character, or WEOF
26       if wc is WEOF.
27

ATTRIBUTES

29       For  an  explanation  of  the  terms  used  in  this  section,  see at‐
30       tributes(7).
31
32       ┌────────────────────────────────────────────┬───────────────┬─────────┐
33Interface                                   Attribute     Value   
34       ├────────────────────────────────────────────┼───────────────┼─────────┤
35towctrans()                                 │ Thread safety │ MT-Safe │
36       └────────────────────────────────────────────┴───────────────┴─────────┘
37

STANDARDS

39       C11, POSIX.1-2008.
40

HISTORY

42       POSIX.1-2001, C99.
43

NOTES

45       The behavior of towctrans() depends on the  LC_CTYPE  category  of  the
46       current locale.
47

SEE ALSO

49       towlower(3), towupper(3), wctrans(3)
50
51
52
53Linux man-pages 6.04              2023-03-30                      towctrans(3)
Impressum