]> git.ipfire.org Git - thirdparty/man-pages.git/blame - man3/towctrans.3
All pages: Remove the 5th argument to .TH
[thirdparty/man-pages.git] / man3 / towctrans.3
CommitLineData
fea681da
MK
1.\" Copyright (c) Bruno Haible <haible@clisp.cons.org>
2.\"
e4a74ca8 3.\" SPDX-License-Identifier: GPL-2.0-or-later
fea681da
MK
4.\"
5.\" References consulted:
6.\" GNU glibc-2 source code and manual
7.\" Dinkumware C library reference http://www.dinkumware.com/
008f1ecc 8.\" OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
fea681da
MK
9.\" ISO/IEC 9899:1999
10.\"
45186a5d 11.TH TOWCTRANS 3 2021-03-22 "Linux man-pages (unreleased)"
fea681da
MK
12.SH NAME
13towctrans \- wide-character transliteration
32e3340b
AC
14.SH LIBRARY
15Standard C library
8fc3b2cf 16.RI ( libc ", " \-lc )
fea681da
MK
17.SH SYNOPSIS
18.nf
19.B #include <wctype.h>
68e4db0a 20.PP
fea681da
MK
21.BI "wint_t towctrans(wint_t " wc ", wctrans_t " desc );
22.fi
23.SH DESCRIPTION
35cfd378
MK
24If
25.I wc
26is a wide character, the
60a90ecd
MK
27.BR towctrans ()
28function
35cfd378
MK
29translates it according to the transliteration descriptor
30.IR desc .
31If
d8a86e74 32.I wc
35cfd378
MK
33is
34.BR WEOF ,
35.B WEOF
36is returned.
fea681da 37.PP
35cfd378
MK
38.I desc
39must be a transliteration descriptor returned by
60a90ecd
MK
40the
41.BR wctrans (3)
42function.
47297adb 43.SH RETURN VALUE
60a90ecd
MK
44The
45.BR towctrans ()
46function returns the translated wide character,
35cfd378 47or
d8a86e74 48.B WEOF
35cfd378
MK
49if
50.I wc
51is
52.BR WEOF .
1c2794e7 53.SH ATTRIBUTES
deb14ced
PH
54For an explanation of the terms used in this section, see
55.BR attributes (7).
c466875e
MK
56.ad l
57.nh
deb14ced
PH
58.TS
59allbox;
c466875e 60lbx lb lb
deb14ced
PH
61l l l.
62Interface Attribute Value
63T{
1c2794e7 64.BR towctrans ()
deb14ced
PH
65T} Thread safety MT-Safe
66.TE
c466875e
MK
67.hy
68.ad
69.sp 1
3113c7f3 70.SH STANDARDS
7aaf19e7 71POSIX.1-2001, POSIX.1-2008, C99.
fea681da 72.SH NOTES
d9bfdb9c 73The behavior of
60a90ecd 74.BR towctrans ()
1274071a
MK
75depends on the
76.B LC_CTYPE
77category of the
fea681da 78current locale.
47297adb 79.SH SEE ALSO
e37e3282
MK
80.BR towlower (3),
81.BR towupper (3),
82.BR wctrans (3)