1 .\" Copyright (c) Bruno Haible <haible@clisp.cons.org>
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.
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
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>
18 .TH WCSCSPN 3 1999-07-25 "GNU" "Linux Programmer's Manual"
21 .\"O wcscspn \- search a wide-character string for any of a set of wide characters
22 wcscspn \- ワイド文字文字列から、与えた文字集合に含まれる文字を検索する
28 .BI "size_t wcscspn(const wchar_t *" wcs ", const wchar_t *" reject );
34 .\"O function is the wide-character equivalent
38 .\"O It determines the length of the longest initial segment of \fIwcs\fP
39 .\"O which consists entirely of wide-characters not listed in \fIreject\fP.
41 .\"O other words, it searches for the first occurrence in the wide-character
42 .\"O string \fIwcs\fP of any of the characters in the wide-character string
48 この関数は、\fIwcs\fP の先頭部分を調べ、\fIreject\fP に列挙されていない
49 ワイド文字だけによって構成される部分を最も長く取った場合の長さを求める。
50 言い換えると、この関数はワイド文字文字列 \fIwcs\fP の中に、ワイド文字列
51 \fIreject\fP に含まれるいずれかの文字が現われる最初の位置を探す。
52 .\"O .SH "RETURN VALUE"
56 .\"O function returns the number of
57 .\"O wide characters in the longest
58 .\"O initial segment of \fIwcs\fP which consists entirely of wide-characters not
59 .\"O listed in \fIreject\fP.
60 .\"O In other words, it returns the position of the first
61 .\"O occurrence in the wide-character string \fIwcs\fP
62 .\"O of any of the characters in
63 .\"O the wide-character string \fIreject\fP,
64 .\"O or \fIwcslen(wcs)\fP if there is none.
66 関数は、\fIwcs\fP の先頭部分を調べ、\fIreject\fP に列挙
67 されていないワイド文字だけによって構成される部分を最も長く取った場合の
69 言い換えると、この関数はワイド文字文字列 \fIwcs\fP の中に、ワイド文字列
70 \fIreject\fP に含まれるいずれかの文字が現われる最初の位置を返す。
71 何も現われなかった場合には \fIwcslen(wcs)\fP を返す。
72 .\"O .SH "CONFORMING TO"