OSDN Git Service

25b1d72c50eb9690bb23af230113ac8320e080c8
[linuxjm/LDP_man-pages.git] / draft / man3 / towupper.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:16:12 JST 1999
16 .\"           by FUJIWARA Teruyoshi <fujiwara@linux.or.jp>
17 .\"
18 .TH TOWUPPER 3 1999-07-25 "GNU" "Linux Programmer's Manual"
19 .\"O .SH NAME
20 .SH 名前
21 .\"O towupper \- convert a wide character to uppercase
22 towupper \- ワイド文字 1 個を大文字に変換する
23 .\"O .SH SYNOPSIS
24 .SH 書式
25 .nf
26 .B #include <wctype.h>
27 .sp
28 .BI "wint_t towupper(wint_t " wc );
29 .fi
30 .\"O .SH DESCRIPTION
31 .SH 説明
32 .\"O The
33 .\"O .BR towupper ()
34 .\"O function is the wide-character equivalent of the
35 .\"O .BR toupper (3)
36 .\"O function.
37 .\"O If \fIwc\fP is a wide character, it is converted to
38 .\"O uppercase.
39 .\"O Characters which do not have case are returned unchanged.
40 .BR towupper ()
41 関数は、
42 .BR toupper (3)
43 関数に対応するワイド文字関数である。
44 \fIwc\fP がワイド文字ならば、この文字は大文字に変換される。
45 大文字・小文字の区別がない文字は変換されずに返される。
46 .\"O If \fIwc\fP is \fBWEOF\fP, \fBWEOF\fP is returned.
47 \fIwc\fP が \fBWEOF\fP ならば、\fBWEOF\fP が返される。
48 .\"O .SH "RETURN VALUE"
49 .SH 返り値
50 .\"O The
51 .\"O .BR towupper ()
52 .\"O function returns the uppercase equivalent of \fIwc\fP,
53 .\"O or \fBWEOF\fP if \fIwc\fP is \fBWEOF\fP.
54 .BR towupper ()
55 関数は、\fIwc\fP に対応する大文字を返す。\fIwc\fP が
56 \fBWEOF\fP ならば、\fBWEOF\fP を返す。
57 .\"O .SH "CONFORMING TO"
58 .SH 準拠
59 C99.
60 .\"O .SH NOTES
61 .SH 注意
62 .\"O The behavior of
63 .\"O .BR towupper ()
64 .\"O depends on the
65 .\"O .B LC_CTYPE
66 .\"O category of the
67 .\"O current locale.
68 \fBtowlower\fP の動作は、現在のロケールの
69 .B LC_CTYPE
70 カテゴリに依存する。
71 .PP
72 .\"O This function is not very appropriate for dealing with Unicode characters,
73 .\"O because Unicode knows about three cases: upper, lower and title case.
74 この関数を Unicode 文字に対して使うのはあまり適切でない。なぜなら、
75 Unicode には、大文字 (upper case)・小文字 (lower case)・
76 タイトル文字 (title case) という 3 つの "case" が含まれているからである。
77 .\"O .SH "SEE ALSO"
78 .SH 関連項目
79 .BR iswupper (3),
80 .BR towctrans (3),
81 .BR towlower (3)