OSDN Git Service

(split) LDP v3.24 -> v3.29 の定型的な変更内容を反映。
[linuxjm/LDP_man-pages.git] / draft / 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 .\"O .SH NAME
20 .SH Ì¾Á°
21 .\"O wcscspn \- search a wide-character string for any of a set of wide characters
22 wcscspn \- ¥ï¥¤¥Éʸ»úʸ»úÎ󤫤顢Ϳ¤¨¤¿Ê¸»ú½¸¹ç¤Ë´Þ¤Þ¤ì¤ëʸ»ú¤ò¸¡º÷¤¹¤ë
23 .\"O .SH SYNOPSIS
24 .SH ½ñ¼°
25 .nf
26 .B #include <wchar.h>
27 .sp
28 .BI "size_t wcscspn(const wchar_t *" wcs ", const wchar_t *" reject );
29 .fi
30 .\"O .SH DESCRIPTION
31 .SH ÀâÌÀ
32 .\"O The
33 .\"O .BR wcscspn ()
34 .\"O function is the wide-character equivalent
35 .\"O of the
36 .\"O .BR strcspn (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 not listed in \fIreject\fP.
40 .\"O In
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
43 .\"O \fIreject\fP.
44 .BR wcscspn ()
45 ´Ø¿ô¤Ï¡¢
46 .BR strcspn (3)
47 ´Ø¿ô¤ËÂбþ¤¹¤ë¥ï¥¤¥Éʸ»ú´Ø¿ô¤Ç¤¢¤ë¡£
48 ¤³¤Î´Ø¿ô¤Ï¡¢\fIwcs\fP ¤ÎÀèƬÉôʬ¤òÄ´¤Ù¡¢\fIreject\fP ¤ËÎóµó¤µ¤ì¤Æ¤¤¤Ê¤¤
49 ¥ï¥¤¥Éʸ»ú¤À¤±¤Ë¤è¤Ã¤Æ¹½À®¤µ¤ì¤ëÉôʬ¤òºÇ¤âŤ¯¼è¤Ã¤¿¾ì¹ç¤ÎŤµ¤òµá¤á¤ë¡£
50 ¸À¤¤´¹¤¨¤ë¤È¡¢¤³¤Î´Ø¿ô¤Ï¥ï¥¤¥Éʸ»úʸ»úÎó \fIwcs\fP ¤ÎÃæ¤Ë¡¢¥ï¥¤¥Éʸ»úÎó
51 \fIreject\fP ¤Ë´Þ¤Þ¤ì¤ë¤¤¤º¤ì¤«¤Îʸ»ú¤¬¸½¤ï¤ì¤ëºÇ½é¤Î°ÌÃÖ¤òõ¤¹¡£
52 .\"O .SH "RETURN VALUE"
53 .SH ÊÖ¤êÃÍ
54 .\"O The
55 .\"O .BR wcscspn ()
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.
65 .BR wcscspn ()
66 ´Ø¿ô¤Ï¡¢\fIwcs\fP ¤ÎÀèƬÉôʬ¤òÄ´¤Ù¡¢\fIreject\fP ¤ËÎóµó
67 ¤µ¤ì¤Æ¤¤¤Ê¤¤¥ï¥¤¥Éʸ»ú¤À¤±¤Ë¤è¤Ã¤Æ¹½À®¤µ¤ì¤ëÉôʬ¤òºÇ¤âŤ¯¼è¤Ã¤¿¾ì¹ç¤Î
68 Ťµ¤òÊÖ¤¹¡£
69 ¸À¤¤´¹¤¨¤ë¤È¡¢¤³¤Î´Ø¿ô¤Ï¥ï¥¤¥Éʸ»úʸ»úÎó \fIwcs\fP ¤ÎÃæ¤Ë¡¢¥ï¥¤¥Éʸ»úÎó
70 \fIreject\fP ¤Ë´Þ¤Þ¤ì¤ë¤¤¤º¤ì¤«¤Îʸ»ú¤¬¸½¤ï¤ì¤ëºÇ½é¤Î°ÌÃÖ¤òÊÖ¤¹¡£
71 ²¿¤â¸½¤ï¤ì¤Ê¤«¤Ã¤¿¾ì¹ç¤Ë¤Ï \fIwcslen(wcs)\fP ¤òÊÖ¤¹¡£
72 .\"O .SH "CONFORMING TO"
73 .SH ½àµò
74 C99.
75 .\"O .SH "SEE ALSO"
76 .SH ´ØÏ¢¹àÌÜ
77 .BR strcspn (3),
78 .BR wcspbrk (3),
79 .BR wcsspn (3)