OSDN Git Service

Import translated manuals from JM CVS Repository.
[linuxjm/jm.git] / manual / LDP_man-pages / original / man3 / towctrans.3
1 .\" Copyright (c) Bruno Haible <haible@clisp.cons.org>
2 .\"
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.
7 .\"
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
12 .\"   ISO/IEC 9899:1999
13 .\"
14 .TH TOWCTRANS 3  1999-07-25 "GNU" "Linux Programmer's Manual"
15 .SH NAME
16 towctrans \- wide-character transliteration
17 .SH SYNOPSIS
18 .nf
19 .B #include <wctype.h>
20 .sp
21 .BI "wint_t towctrans(wint_t " wc ", wctrans_t " desc );
22 .fi
23 .SH DESCRIPTION
24 If \fIwc\fP is a wide character, the
25 .BR towctrans ()
26 function
27 translates it according to the transliteration descriptor \fIdesc\fP.
28 If \fIwc\fP is \fBWEOF\fP, \fBWEOF\fP is returned.
29 .PP
30 \fIdesc\fP must be a transliteration descriptor returned by
31 the
32 .BR wctrans (3)
33 function.
34 .SH "RETURN VALUE"
35 The
36 .BR towctrans ()
37 function returns the translated wide character,
38 or \fBWEOF\fP if \fIwc\fP is \fBWEOF\fP.
39 .SH "CONFORMING TO"
40 C99.
41 .SH NOTES
42 The behavior of
43 .BR towctrans ()
44 depends on the
45 .B LC_CTYPE
46 category of the
47 current locale.
48 .SH "SEE ALSO"
49 .BR towlower (3),
50 .BR towupper (3),
51 .BR wctrans (3)