OSDN Git Service

(split) LDP_man-pages: release ioctl.2 [JM:00378]
[linuxjm/LDP_man-pages.git] / draft / 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 .\" About this Japanese page, please contact to JM Project <JM@linux.or.jp>
15 .\" Translated Mon Oct 25 08:17:41 JST 1999
16 .\"           by FUJIWARA Teruyoshi <fujiwara@linux.or.jp>
17 .\"
18 .\" WORD: transliteration descriptor    ÊÑ´¹µ­½Ò»Ò
19 .\"
20 .TH TOWCTRANS 3 1999-07-25 "GNU" "Linux Programmer's Manual"
21 .\"O .SH NAME
22 .SH Ì¾Á°
23 .\"O towctrans \- wide-character transliteration
24 towctrans \- ¥ï¥¤¥Éʸ»ú¤ÎÊÑ´¹
25 .\"O .SH SYNOPSIS
26 .SH ½ñ¼°
27 .nf
28 .B #include <wctype.h>
29 .sp
30 .BI "wint_t towctrans(wint_t " wc ", wctrans_t " desc );
31 .fi
32 .\"O .SH DESCRIPTION
33 .SH ÀâÌÀ
34 .\"O If \fIwc\fP is a wide character, the
35 .\"O .BR towctrans ()
36 .\"O function
37 .\"O translates it according to the transliteration descriptor \fIdesc\fP.
38 .\"O If \fIwc\fP is \fBWEOF\fP, \fBWEOF\fP is returned.
39 \fIwc\fP ¤¬¥ï¥¤¥Éʸ»ú¤Ê¤é¤Ð¡¢
40 .BR towctrans ()
41 ´Ø¿ô¤ÏÊÑ´¹µ­½Ò»Ò
42 \fIdesc\fP ¤Ë½¾¤Ã¤Æ¤½¤Îʸ»ú¤òÊÑ´¹¤¹¤ë¡£\fIwc\fP ¤¬ \fBWEOF\fP ¤Ê¤é¤Ð¡¢
43 \fBWEOF\fP ¤¬ÊÖ¤µ¤ì¤ë¡£
44 .PP
45 .\"O \fIdesc\fP must be a transliteration descriptor returned by
46 .\"O the
47 .\"O .BR wctrans (3)
48 .\"O function.
49 \fIdesc\fP ¤Ï¡¢
50 .BR wctrans (3)
51 ¤¬ÊÖ¤·¤¿ÊÑ´¹µ­½Ò»Ò¤Ç¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
52 .\"O .SH "RETURN VALUE"
53 .SH ÊÖ¤êÃÍ
54 .\"O The
55 .\"O .BR towctrans ()
56 .\"O function returns the translated wide character,
57 .\"O or \fBWEOF\fP if \fIwc\fP is \fBWEOF\fP.
58 .BR towctrans ()
59 ´Ø¿ô¤Ï¡¢ÊÑ´¹·ë²Ì¤Î¥ï¥¤¥Éʸ»ú¤òÊÖ¤¹¡£\fIwc\fP ¤¬ \fBWEOF\fP
60 ¤Ê¤é¤Ð¡¢\fBWEOF\fP ¤òÊÖ¤¹¡£
61 .\"O .SH "CONFORMING TO"
62 .SH ½àµò
63 C99.
64 .\"O .SH NOTES
65 .SH Ãí°Õ
66 .\"O The behavior of
67 .\"O .BR towctrans ()
68 .\"O depends on the
69 .\"O .B LC_CTYPE
70 .\"O category of the
71 .\"O current locale.
72 .BR towctrans ()
73 ¤ÎÆ°ºî¤Ï¡¢¸½ºß¤Î¥í¥±¡¼¥ë¤Î
74 .B LC_CTYPE
75 ¥«¥Æ¥´¥ê¤Ë°Í¸¤¹¤ë¡£
76 .\"O .SH "SEE ALSO"
77 .SH ´ØÏ¢¹àÌÜ
78 .BR towlower (3),
79 .BR towupper (3),
80 .BR wctrans (3)