1 .\" Copyright (c) Bruno Haible <haible@clisp.cons.org>
3 .\" %%%LICENSE_START(GPLv2+_DOC_ONEPARA)
4 .\" This is free documentation; you can redistribute it and/or
5 .\" modify it under the terms of the GNU General Public License as
6 .\" published by the Free Software Foundation; either version 2 of
7 .\" the License, or (at your option) any later version.
10 .\" References consulted:
11 .\" GNU glibc-2 source code and manual
12 .\" Dinkumware C library reference http://www.dinkumware.com/
13 .\" OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
16 .\"*******************************************************************
18 .\" This file was generated with po4a. Translate the source file.
20 .\"*******************************************************************
21 .TH TOWUPPER 3 1999\-07\-25 GNU "Linux Programmer's Manual"
23 towupper \- ワイド文字 1 個を大文字に変換する
26 \fB#include <wctype.h>\fP
28 \fBwint_t towupper(wint_t \fP\fIwc\fP\fB);\fP
31 \fBtowupper\fP() 関数は、 \fBtoupper\fP(3) 関数に対応するワイド文字関数である。 \fIwc\fP
32 がワイド文字ならば、この文字は大文字に変換される。 大文字・小文字の区別がない文字は変換されずに返される。 \fIwc\fP が \fBWEOF\fP
35 \fBtowupper\fP() 関数は、\fIwc\fP に対応する大文字を返す。\fIwc\fP が \fBWEOF\fP ならば、\fBWEOF\fP を返す。
39 \fBtowlower\fP の動作は、現在のロケールの \fBLC_CTYPE\fP カテゴリに依存する。
41 この関数で Unicode 文字を扱うのはあまり適切でない。 なぜなら、Unicode には、大文字 (upper case)・小文字 (lower
42 case)・ タイトル文字 (title case) という 3 つの "case" が含まれているからである。
44 \fBiswupper\fP(3), \fBtowctrans\fP(3), \fBtowlower\fP(3)
46 この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.50 の一部
47 である。プロジェクトの説明とバグ報告に関する情報は
48 http://www.kernel.org/doc/man\-pages/ に書かれている。