1 .\" Copyright (c) Bruno Haible <haible@clisp.cons.org>
3 .\" This is free documentation; you can redistribute it and/or
4 .\" modify it under the terms of the GNU General Public License as
5 .\" published by the Free Software Foundation; either version 2 of
6 .\" the License, or (at your option) any later version.
8 .\" References consulted:
9 .\" GNU glibc-2 source code and manual
10 .\" Dinkumware C library reference http://www.dinkumware.com/
11 .\" OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
14 .TH WCTRANS 3 1999-07-25 "GNU" "Linux Programmer's Manual"
16 wctrans \- wide-character translation mapping
19 .B #include <wctype.h>
21 .BI "wctrans_t wctrans(const char *" name );
24 The \fIwctrans_t\fP type represents a mapping
25 which can map a wide character to
26 another wide character.
27 Its nature is implementation-dependent, but the special
28 value \fI(wctrans_t)\ 0\fP denotes an invalid mapping.
29 Nonzero \fIwctrans_t\fP
30 values can be passed to the
32 function to actually perform
33 the wide-character mapping.
37 function returns a mapping, given by its name.
39 valid names depends on the
41 category of the current locale, but the
42 following names are valid in all locales.
44 "tolower" \- realizes the \fBtolower\fP(3) mapping
45 "toupper" \- realizes the \fBtoupper\fP(3) mapping
50 function returns a mapping descriptor if the \fIname\fP
52 Otherwise it returns \fI(wctrans_t) 0\fP.