OSDN Git Service

cbe5a66af6322f3a99842724af350c08782d5485
[linuxjm/LDP_man-pages.git] / draft / man3 / wcsspn.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 Sat Oct 23 15:46:13 JST 1999
16 .\"           by FUJIWARA Teruyoshi <fujiwara@linux.or.jp>
17 .\"
18 .TH WCSSPN 3 1999-07-25 "GNU" "Linux Programmer's Manual"
19 .\"O .SH NAME
20 .SH 名前
21 .\"O wcsspn \- advance in a wide-character string, skipping
22 .\"O any of a set of wide characters
23 wcsspn \- ワイド文字文字列を進み、ワイド文字の集合の文字をスキップする
24 .\"O .SH SYNOPSIS
25 .SH 書式
26 .nf
27 .B #include <wchar.h>
28 .sp
29 .BI "size_t wcsspn(const wchar_t *" wcs ", const wchar_t *" accept );
30 .fi
31 .\"O .SH DESCRIPTION
32 .SH 説明
33 .\"O The
34 .\"O .BR wcsspn ()
35 .\"O function is the wide-character equivalent of the
36 .\"O .BR strspn (3)
37 .\"O function.
38 .\"O It determines the length of the longest initial segment of \fIwcs\fP
39 .\"O which consists entirely of wide-characters listed in \fIaccept\fP.
40 .\"O In other
41 .\"O words, it searches for the first occurrence in the wide-character string
42 .\"O \fIwcs\fP of a wide-character not contained in the wide-character string
43 .\"O \fIaccept\fP.
44 .BR wcsspn ()
45 関数は、
46 .BR strspn (3)
47 関数に対応するワイド文字関数である。
48 この関数は、\fIwcs\fP の先頭部分を調べ、\fIaccept\fP に列挙されている
49 ワイド文字だけによって構成される部分を最も長く取った場合の長さを求める。
50 言い換えると、この関数はワイド文字文字列 \fIwcs\fP の中に、ワイド文字列
51 \fIaccept\fP に含まれていない文字が現われる最初の位置を探す。
52 .\"O .SH "RETURN VALUE"
53 .SH 返り値
54 .\"O The
55 .\"O .BR wcsspn ()
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 listed
59 .\"O in \fIaccept\fP.
60 .\"O In other words, it returns the position of the first
61 .\"O occurrence in the wide-character string \fIwcs\fP of a wide-character not
62 .\"O contained in the wide-character string \fIaccept\fP, or \fIwcslen(wcs)\fP
63 .\"O if there is none.
64 .BR wcsspn ()
65 関数は、\fIwcs\fP の先頭部分を調べ、\fIaccept\fP に列挙さ
66 れているワイド文字だけによって構成される部分を最も長く取った場合の長さ
67 を返す。
68 言い換えると、この関数はワイド文字文字列 \fIwcs\fP の中に、ワイド文字列
69 \fIaccept\fP に含まれていない文字が現われる最初の位置を返す。
70 何も現われなかった場合には \fIwcslen(wcs)\fP を返す。
71 .\"O .SH "CONFORMING TO"
72 .SH 準拠
73 C99.
74 .\"O .SH "SEE ALSO"
75 .SH 関連項目
76 .BR strspn (3),
77 .BR wcscspn (3)