日本語 man コマンド類 (ja-man-1.1j_5) と日本語 man ドキュメント (ja-man-doc-5.4 (5.4-RELEASE 用) など) をインストールすると、以下のような man コマンド閲覧、キーワード検索が コンソールからできるようになります。
4.11-RELEASE-K, 5.4-RELEASE-K, 5.5-RELEASE-K, 6.0-RELEASE-K から 6.4-RELEASE-K, 7.0-RELEASE-K から 7.4-RELEASE-K, 8.0-RELEASE-K から 8.4-RELEASE-K, 9.0-RELEASE-K から 9.3-RELEASE-K, 10.0-RELEASE-K から 10.3-RELEASE-K, 11.0-RELEASE-K から 11.4-RELEASE-K, 12.0-RELEASE-K, 12.1-RELEASE-K は、 プライベート版 (小金丸が編集してまとめたもの) ですが、 より多くの翻訳したファイルが含まれています。 (5.4-RELEASE-K から 6.4-RELEASE-K, 7.0-RELEASE-K から 7.4-RELEASE-K, 8.0-RELEASE-K から 8.4-RELEASE-K, 9.0-RELEASE-K から 9.3-RELEASE-K, 10.0-RELEASE-K から 10.3-RELEASE-K, 11.0-RELEASE-K から 11.4-RELEASE-K, 12.0-RELEASE-K から 12.4-RELEASE-K, 13.0-RELEASE-K から 13.3-RELEASE-K, 14.0-RELEASE-K から 14.1-RELEASE-K は、全翻訳済み)
13.3-STABLE-K, 15.0-CURRENT-K は現在、作成中で日々更新されています。
Table of Contents
WCTYPE(3) FreeBSD ライブラリ関数マニュアル WCTYPE(3)
名称
iswctype, wctype -- ワイド文字分類関数
ライブラリ
標準 C ライブラリ (libc, -lc)
書式
#include <wctype.h>
int
iswctype(wint_t wc, wctype_t charclass);
wctype_t
wctype(const char *property);
解説
wctype() 関数は、要求されたワイド文字クラスを表すタイプ wctype_t の値を返
して、それは iswctype() への呼び出しの 2 番目の引数として使用することがで
きます。
次の文字クラス名が認識されます:
alnum cntrl ideogram print space xdigit
alpha digit lower punct special
blank graph phonogram rune upper
iswctype() 関数は、ワイド文字 wc が文字クラス charclass であるかどうかを
チェックします。
戻り値
iswctype() 関数は wc が charclass によって表現された特性があるか、または
charclass が 0 の時かつその時に限り 0 以外を返します。
wctype() 関数は property が無効であるなら 0 を返し、そうでなければ、その
後の iswctype() の呼び出しに使用することができるタイプ wctype_t の値を返
します。
使用例
iswctype() と wctype() に関して iswalpha(3) を再実装する:
int
myiswalpha(wint_t wc)
{
return (iswctype(wc, wctype("alpha")));
}
関連項目
ctype(3), nextwctype(3)
規格
iswctype() と wctype() 関数は、IEEE Std 1003.1-2001 (``POSIX.1'') に適合
しています。``ideogram'', ``phonogram'', ``special'' と ``rune'' 文字クラ
スは拡張です。
歴史
iswctype() と wctype() 関数は、FreeBSD 5.0 ではじめて登場しました。
FreeBSD 13.2 March 27, 2004 FreeBSD 13.2