OSDN Git Service

Convert release and draft pages to UTF-8.
[linuxjm/jm.git] / manual / LDP_man-pages / release / man3 / wcscspn.3
1 .\" Copyright (c) Bruno Haible <haible@clisp.cons.org>
2 .\"
3 .\" This is free documentation; you can redistribute it and/or
4 .\" modify it under the terms of the GNU General Public License as
5 .\" published by the Free Software Foundation; either version 2 of
6 .\" the License, or (at your option) any later version.
7 .\"
8 .\" References consulted:
9 .\"   GNU glibc-2 source code and manual
10 .\"   Dinkumware C library reference http://www.dinkumware.com/
11 .\"   OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
12 .\"   ISO/IEC 9899:1999
13 .\"
14 .\" About this Japanese page, please contact to JM Project <JM@linux.or.jp>
15 .\" Translated Sun Oct 17 22:19:07 JST 1999
16 .\"           by FUJIWARA Teruyoshi <fujiwara@linux.or.jp>
17 .\"
18 .TH WCSCSPN 3 1999-07-25 "GNU" "Linux Programmer's Manual"
19 .SH 名前
20 wcscspn \- ワイド文字文字列から、与えた文字集合に含まれる文字を検索する
21 .SH 書式
22 .nf
23 .B #include <wchar.h>
24 .sp
25 .BI "size_t wcscspn(const wchar_t *" wcs ", const wchar_t *" reject );
26 .fi
27 .SH 説明
28 .BR wcscspn ()
29 関数は、
30 .BR strcspn (3)
31 関数に対応するワイド文字関数である。
32 この関数は、\fIwcs\fP の先頭部分を調べ、\fIreject\fP に列挙されていない
33 ワイド文字だけによって構成される部分を最も長く取った場合の長さを求める。
34 言い換えると、この関数はワイド文字文字列 \fIwcs\fP の中に、ワイド文字列
35 \fIreject\fP に含まれるいずれかの文字が現われる最初の位置を探す。
36 .SH 返り値
37 .BR wcscspn ()
38 関数は、\fIwcs\fP の先頭部分を調べ、\fIreject\fP に列挙
39 されていないワイド文字だけによって構成される部分を最も長く取った場合の
40 長さを返す。
41 言い換えると、この関数はワイド文字文字列 \fIwcs\fP の中に、ワイド文字列
42 \fIreject\fP に含まれるいずれかの文字が現われる最初の位置を返す。
43 何も現われなかった場合には \fIwcslen(wcs)\fP を返す。
44 .SH 準拠
45 C99.
46 .SH 関連項目
47 .BR strcspn (3),
48 .BR wcspbrk (3),
49 .BR wcsspn (3)