1 .\" Copyright (c) Bruno Haible <haible@clisp.cons.org>
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.
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
14 .\"*******************************************************************
16 .\" This file was generated with po4a. Translate the source file.
18 .\"*******************************************************************
19 .TH TOWUPPER 3 1999\-07\-25 GNU "Linux Programmer's Manual"
21 towupper \- ワイド文字 1 個を大文字に変換する
24 \fB#include <wctype.h>\fP
26 \fBwint_t towupper(wint_t \fP\fIwc\fP\fB);\fP
29 \fBtowupper\fP() 関数は、 \fBtoupper\fP(3) 関数に対応するワイド文字関数である。 \fIwc\fP
30 がワイド文字ならば、この文字は大文字に変換される。 大文字・小文字の区別がない文字は変換されずに返される。 \fIwc\fP が \fBWEOF\fP
33 \fBtowupper\fP() 関数は、\fIwc\fP に対応する大文字を返す。\fIwc\fP が \fBWEOF\fP ならば、\fBWEOF\fP を返す。
37 \fBtowlower\fP の動作は、現在のロケールの \fBLC_CTYPE\fP カテゴリに依存する。
39 この関数で Unicode 文字を扱うのはあまり適切でない。 なぜなら、Unicode には、大文字 (upper case)・小文字 (lower
40 case)・ タイトル文字 (title case) という 3 つの "case" が含まれているからである。
42 \fBiswupper\fP(3), \fBtowctrans\fP(3), \fBtowlower\fP(3)