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 Sat Oct 23 15:46:13 JST 1999
16 .\" by FUJIWARA Teruyoshi <fujiwara@linux.or.jp>
18 .TH WCSSPN 3 1999-07-25 "GNU" "Linux Programmer's Manual"
21 .\"O wcsspn \- advance in a wide-character string, skipping
22 .\"O any of a set of wide characters
23 wcsspn \- ¥ï¥¤¥Éʸ»úʸ»úÎó¤ò¿Ê¤ß¡¢¥ï¥¤¥Éʸ»ú¤Î½¸¹ç¤Îʸ»ú¤ò¥¹¥¥Ã¥×¤¹¤ë
29 .BI "size_t wcsspn(const wchar_t *" wcs ", const wchar_t *" accept );
35 .\"O function is the wide-character equivalent of the
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.
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
47 ´Ø¿ô¤ËÂбþ¤¹¤ë¥ï¥¤¥Éʸ»ú´Ø¿ô¤Ç¤¢¤ë¡£
48 ¤³¤Î´Ø¿ô¤Ï¡¢\fIwcs\fP ¤ÎÀèƬÉôʬ¤òÄ´¤Ù¡¢\fIaccept\fP ¤ËÎóµó¤µ¤ì¤Æ¤¤¤ë
49 ¥ï¥¤¥Éʸ»ú¤À¤±¤Ë¤è¤Ã¤Æ¹½À®¤µ¤ì¤ëÉôʬ¤òºÇ¤âŤ¯¼è¤Ã¤¿¾ì¹ç¤ÎŤµ¤òµá¤á¤ë¡£
50 ¸À¤¤´¹¤¨¤ë¤È¡¢¤³¤Î´Ø¿ô¤Ï¥ï¥¤¥Éʸ»úʸ»úÎó \fIwcs\fP ¤ÎÃæ¤Ë¡¢¥ï¥¤¥Éʸ»úÎó
51 \fIaccept\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 listed
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.
65 ´Ø¿ô¤Ï¡¢\fIwcs\fP ¤ÎÀèƬÉôʬ¤òÄ´¤Ù¡¢\fIaccept\fP ¤ËÎóµó¤µ
66 ¤ì¤Æ¤¤¤ë¥ï¥¤¥Éʸ»ú¤À¤±¤Ë¤è¤Ã¤Æ¹½À®¤µ¤ì¤ëÉôʬ¤òºÇ¤âŤ¯¼è¤Ã¤¿¾ì¹ç¤ÎŤµ
68 ¸À¤¤´¹¤¨¤ë¤È¡¢¤³¤Î´Ø¿ô¤Ï¥ï¥¤¥Éʸ»úʸ»úÎó \fIwcs\fP ¤ÎÃæ¤Ë¡¢¥ï¥¤¥Éʸ»úÎó
69 \fIaccept\fP ¤Ë´Þ¤Þ¤ì¤Æ¤¤¤Ê¤¤Ê¸»ú¤¬¸½¤ï¤ì¤ëºÇ½é¤Î°ÌÃÖ¤òÊÖ¤¹¡£
70 ²¿¤â¸½¤ï¤ì¤Ê¤«¤Ã¤¿¾ì¹ç¤Ë¤Ï \fIwcslen(wcs)\fP ¤òÊÖ¤¹¡£
71 .\"O .SH "CONFORMING TO"