.\" Copyright (c) Bruno Haible .\" .\" This is free documentation; you can redistribute it and/or .\" modify it under the terms of the GNU General Public License as .\" published by the Free Software Foundation; either version 2 of .\" the License, or (at your option) any later version. .\" .\" References consulted: .\" GNU glibc-2 source code and manual .\" Dinkumware C library reference http://www.dinkumware.com/ .\" OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html .\" ISO/IEC 9899:1999 .\" .\"******************************************************************* .\" .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* .TH TOWUPPER 3 1999\-07\-25 GNU "Linux Programmer's Manual" .SH 名前 towupper \- ワイド文字 1 個を大文字に変換する .SH 書式 .nf \fB#include \fP .sp \fBwint_t towupper(wint_t \fP\fIwc\fP\fB);\fP .fi .SH 説明 \fBtowupper\fP() 関数は、 \fBtoupper\fP(3) 関数に対応するワイド文字関数である。 \fIwc\fP がワイド文字ならば、この文字は大文字に変換される。 大文字・小文字の区別がない文字は変換されずに返される。 \fIwc\fP が \fBWEOF\fP ならば、\fBWEOF\fP が返される。 .SH 返り値 \fBtowupper\fP() 関数は、\fIwc\fP に対応する大文字を返す。\fIwc\fP が \fBWEOF\fP ならば、\fBWEOF\fP を返す。 .SH 準拠 C99. .SH 注意 \fBtowlower\fP の動作は、現在のロケールの \fBLC_CTYPE\fP カテゴリに依存する。 .PP この関数で Unicode 文字を扱うのはあまり適切でない。 なぜなら、Unicode には、大文字 (upper case)・小文字 (lower case)・ タイトル文字 (title case) という 3 つの "case" が含まれているからである。 .SH 関連項目 \fBiswupper\fP(3), \fBtowctrans\fP(3), \fBtowlower\fP(3) .SH この文書について この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.41 の一部 である。プロジェクトの説明とバグ報告に関する情報は http://www.kernel.org/doc/man\-pages/ に書かれている。