.\" 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 .\" .\" About this Japanese page, please contact to JM Project .\" Translated Sun Sep 5 22:21:05 JST 1999 .\" by FUJIWARA Teruyoshi .\" Updated Sun Dec 26 19:32:06 JST 1999 .\" by Kentaro Shirakata .\" .TH ISWUPPER 3 1999-07-25 "GNU" "Linux Programmer's Manual" .\"O .SH NAME .SH 名前 .\"O iswupper \- test for uppercase wide character iswupper \- 大文字ワイド文字かどうかを調べる .\"O .SH SYNOPSIS .SH 書式 .nf .B #include .sp .BI "int iswupper(wint_t " wc ); .fi .\"O .SH DESCRIPTION .SH 説明 .\"O The .\"O .BR iswupper () .\"O function is the wide-character equivalent of the .\"O .BR isupper (3) .\"O function. .\"O It tests whether \fIwc\fP is a wide character .\"O belonging to the wide-character class "upper". .BR iswupper () 関数は、 .BR isupper (3) に対応するワイド文字関数である。 この関数は、\fIwc\fP がワイド文字クラス "upper" に属するワイド文字かど うかを調べる。 .PP .\"O The wide-character class "upper" is a subclass of the wide-character class .\"O "alpha", and therefore also a subclass of the wide-character class "alnum", of .\"O the wide-character class "graph" and of the wide-character class "print". ワイド文字クラス "upper" はワイド文字クラス "alpha" のサブクラスであり、 したがってワイド文字クラス "alnum" とその親クラスである "graph", さらに その親クラスである "print" のサブクラスでもある。 .PP .\"O Being a subclass of the wide-character class "print", the wide-character class .\"O "upper" is disjoint from the wide-character class "cntrl". ワイド文字クラス "print" のサブクラスなので、ワイド文字クラス "upper" はワイド文字クラス "cntrl" と共通部分を持たない。 .PP .\"O Being a subclass of the wide-character class "graph", the wide-character class .\"O "upper" is disjoint from the wide-character class "space" and its subclass .\"O "blank". ワイド文字クラス "graph" のサブクラスなので、ワイド文字クラス "upper" はワイド文字クラス "space" とそのサブクラスである "blank" と共通 部分を持たない。 .PP .\"O Being a subclass of the wide-character class "alnum", the wide-character class .\"O "upper" is disjoint from the wide-character class "punct". ワイド文字クラス "alnum" のサブクラスなので、ワイド文字クラス "upper" はワイド文字クラス "punct" と共通部分を持たない。 .PP .\"O Being a subclass of the wide-character class "alpha", the wide-character class .\"O "upper" is disjoint from the wide-character class "digit". ワイド文字クラス "alpha" のサブクラスなので、ワイド文字クラス "upper" はワイド文字クラス "digit" と共通部分を持たない。 .PP .\"O The wide-character class "upper" contains at least those characters \fIwc\fP .\"O which are equal to \fItowupper(wc)\fP and different from \fItowlower(wc)\fP. ワイド文字クラス "upper" は少なくとも、\fIwc\fP と \fItowupper(wc)\fP が等しくなり、かつ \fItowupper(wc)\fP と異なるような文字を含む。 .PP .\"O The wide-character class "upper" always contains at least the .\"O letters \(aqA\(aq to \(aqZ\(aq. ワイド文字クラス "upper" は少なくとも \(aqA\(aq から \(aqZ\(aq を必ず含む。 .\"O .SH "RETURN VALUE" .SH 返り値 .\"O The .\"O .BR iswupper () .\"O function returns nonzero if \fIwc\fP is a wide character .\"O belonging to the wide-character class "upper". .\"O Otherwise it returns zero. .BR iswupper () 関数は、\fIwc\fP がワイド文字クラス "upper" に属するワイド文字ならば 0 でない値を返す。そうでなければ 0 を返す。 .\"O .SH "CONFORMING TO" .SH 準拠 C99. .\"O .SH NOTES .SH 注意 .\"O The behavior of .\"O .BR iswupper () .\"O depends on the .\"O .B LC_CTYPE .\"O category of the .\"O current locale. .BR iswupper () の動作は、現在のロケールの .B LC_CTYPE カテゴリに依存する。 .PP .\"O This function is not very appropriate for dealing with Unicode characters, .\"O because Unicode knows about three cases: upper, lower and title case. この関数で Unicode を扱うのはあまり適切でない。なぜなら、Unicode には 大文字・小文字・タイトル文字の 3 つが含まれているからである。 .\"O .SH "SEE ALSO" .SH 関連項目 .BR isupper (3), .BR iswctype (3), .BR towupper (3)