OSDN Git Service

(split) LDP: Release pages for LDP v3.39.
[linuxjm/LDP_man-pages.git] / release / 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 .\"*******************************************************************
15 .\"
16 .\" This file was generated with po4a. Translate the source file.
17 .\"
18 .\"*******************************************************************
19 .TH TOWUPPER 3 1999\-07\-25 GNU "Linux Programmer's Manual"
20 .SH 名前
21 towupper \- ワイド文字 1 個を大文字に変換する
22 .SH 書式
23 .nf
24 \fB#include <wctype.h>\fP
25 .sp
26 \fBwint_t towupper(wint_t \fP\fIwc\fP\fB);\fP
27 .fi
28 .SH 説明
29 \fBtowupper\fP()  関数は、 \fBtoupper\fP(3)  関数に対応するワイド文字関数である。 \fIwc\fP
30 がワイド文字ならば、この文字は大文字に変換される。 大文字・小文字の区別がない文字は変換されずに返される。 \fIwc\fP が \fBWEOF\fP
31 ならば、\fBWEOF\fP が返される。
32 .SH 返り値
33 \fBtowupper\fP()  関数は、\fIwc\fP に対応する大文字を返す。\fIwc\fP が \fBWEOF\fP ならば、\fBWEOF\fP を返す。
34 .SH 準拠
35 C99.
36 .SH 注意
37 \fBtowlower\fP の動作は、現在のロケールの \fBLC_CTYPE\fP カテゴリに依存する。
38 .PP
39 この関数で Unicode 文字を扱うのはあまり適切でない。 なぜなら、Unicode には、大文字 (upper case)・小文字 (lower
40 case)・ タイトル文字 (title case) という 3 つの "case" が含まれているからである。
41 .SH 関連項目
42 \fBiswupper\fP(3), \fBtowctrans\fP(3), \fBtowlower\fP(3)