2 .\" Copyright (c) Bruno Haible <haible@clisp.cons.org>
4 .\" SPDX-License-Identifier: GPL-2.0-or-later
6 .\" References consulted:
7 .\" GNU glibc-2 source code and manual
8 .\" Dinkumware C library reference http://www.dinkumware.com/
9 .\" OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
12 .TH wctrans 3 (date) "Linux man-pages (unreleased)"
14 wctrans \- wide-character translation mapping
17 .RI ( libc ", " \-lc )
20 .B #include <wctype.h>
22 .BI "wctrans_t wctrans(const char *" name );
27 type represents a mapping
28 which can map a wide character to
29 another wide character.
30 Its nature is implementation-dependent, but the special
33 denotes an invalid mapping.
36 values can be passed to the
38 function to actually perform
39 the wide-character mapping.
43 function returns a mapping, given by its name.
45 valid names depends on the
47 category of the current locale, but the
48 following names are valid in all locales.
51 "tolower" \- realizes the \fBtolower\fP(3) mapping
52 "toupper" \- realizes the \fBtoupper\fP(3) mapping
57 function returns a mapping descriptor if the
61 .IR "(wctrans_t)\ 0" .
63 For an explanation of the terms used in this section, see
69 Interface Attribute Value
74 T} Thread safety MT-Safe locale