.\" Copyright (c) Bruno Haible .\" .\" %%%LICENSE_START(GPLv2+_DOC_ONEPARA) .\" 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. .\" %%%LICENSE_END .\" .\" 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. .\" .\"******************************************************************* .\" .\" Translated Sun Sep 5 21:47:49 JST 1999 .\" by FUJIWARA Teruyoshi .\" Updated Sun Dec 26 19:31:52 JST 1999 .\" by Kentaro Shirakata .\" .TH ISWPUNCT 3 2015\-08\-08 GNU "Linux Programmer's Manual" .SH 名前 iswpunct \- 句読点・記号ワイド文字かどうかを調べる .SH 書式 .nf \fB#include \fP .PP \fBint iswpunct(wint_t \fP\fIwc\fP\fB);\fP .fi .SH 説明 \fBiswpunct\fP() 関数は、 \fBispunct\fP(3) に対応するワイド文字関数である。 この関数は、\fIwc\fP がワイド文字クラス "punct" に属するワイド文字かど うかを調べる。 .PP ワイド文字クラス "punct" はワイド文字クラス "graph" のサブクラスである。 したがって、ワイド文字クラス "print" のサブクラスでもある。 .PP ワイド文字クラス "punct" はワイド文字クラス "alnum" と共通部分を持たな い。したがって、そのサブクラスである "alpha", "upper", "lower", "digit", "xdigit" とも共通部分を持たない。 .PP ワイド文字 "print" のサブクラスなので、ワイド文字クラス "punct" は ワイド文字クラス "cntrl" と共通部分を持たない。 .PP ワイド文字クラス "graph" のサブクラスなので、ワイド文字クラス "punct" はワイド文字クラス "space" とそのサブクラスである "blank" と共通 部分を持たない。 .SH 返り値 \fBiswpunct\fP() 関数は、\fIwc\fP がワイド文字クラス "punct" に属する ワイド文字ならば 0 でない値を返す。そうでなければ 0 を返す。 .SH 属性 この節で使用されている用語の説明については、 \fBattributes\fP(7) を参照。 .TS allbox; lb lb lb l l l. インターフェース 属性 値 T{ \fBiswpunct\fP() T} Thread safety MT\-Safe locale .TE .SH 準拠 POSIX.1\-2001, POSIX.1\-2008, C99. .SH 注意 \fBiswpunct\fP() の動作は、現在のロケールの \fBLC_CTYPE\fP カテゴリーに依存する。 .PP この関数の名前は Unicode 文字を扱う際には正しくない。なぜなら、ワイド 文字クラス "punct" は句読点文字と記号文字(数学記号、貨幣記号など)の両 方を含むからである。 .SH 関連項目 \fBispunct\fP(3), \fBiswctype\fP(3) .SH この文書について この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 5.10 の一部である。プロジェクトの説明とバグ報告に関する情報は \%https://www.kernel.org/doc/man\-pages/ に書かれている。