.\" 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 Wed Sep 1 22:51:30 JST 1999 .\" by FUJIWARA Teruyoshi .\" .TH ISWCNTRL 3 2014\-02\-10 GNU "Linux Programmer's Manual" .SH 名前 iswcntrl \- ワイド制御文字かどうかを調べる .SH 書式 .nf \fB#include \fP .sp \fBint iswcntrl(wint_t \fP\fIwc\fP\fB);\fP .fi .SH 説明 \fBiswcntrl\fP() 関数は、 \fBiscntrl\fP(3) に対応するワイド文字関数である。 この関数は、\fIwc\fP がワイド文字クラス "cntrl" に属するワイド文字かど うかを調べる。 .PP ワイド文字クラス "cntrl" はワイド文字クラス "print" とは共通部分を持た ず、したがってそのサブクラスである "graph", "alpha", "upper", "lower", "digit", "xdigit", "punct" とも共通部分を持たない。 .PP unsigned char 型である \fIc\fP に対しては、\fIiscntrl(c)\fP は暗黙的に \fIiswcntrl(btowc(c))\fP を行う。 .SH 返り値 関数 \fBiswcntrl\fP() は、\fIwc\fP がワイド文字クラス "cntrl" に属する ワイド文字ならば 0 でない値を返す。そうでない場合には 0 を返す。 .SH 属性 .SS "マルチスレッディング (pthreads(7) 参照)" \fBiswcntrl\fP() 関数は、例外付きのスレッドセーフである。実行中に \fBsetlocale\fP(3) を呼び出してロケールを変更しない限り、マルチスレッドアプリケーションで安全に使用することができる。 .SH 準拠 C99. .SH 注意 \fBiswcntrl\fP() の動作は、現在のロケールの \fBLC_CTYPE\fP カテゴリーに依存する。 .SH 関連項目 \fBiscntrl\fP(3), \fBiswctype\fP(3) .SH この文書について この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.79 の一部 である。プロジェクトの説明とバグ報告に関する情報は http://www.kernel.org/doc/man\-pages/ に書かれている。