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:50:55 JST 1999
16 .\" by FUJIWARA Teruyoshi <fujiwara@linux.or.jp>
18 .TH WCSSTR 3 2011-09-28 "GNU" "Linux Programmer's Manual"
21 .\"O wcsstr \- locate a substring in a wide-character string
22 wcsstr \- ¥ï¥¤¥Éʸ»úʸ»úÎóÃæ¤ÎÉôʬʸ»úÎó¤Î°ÌÃÖ¤òÆÃÄꤹ¤ë
28 .BI "wchar_t *wcsstr(const wchar_t *" haystack ", const wchar_t *" needle );
34 .\"O function is the wide-character equivalent of the
37 .\"O It searches for the first occurrence of the wide-character string
38 .\"O \fIneedle\fP (without its terminating null wide character (L\(aq\\0\(aq))
39 .\"O as a substring in the wide-character string \fIhaystack\fP.
43 ´Ø¿ô¤ËÂбþ¤¹¤ë¥ï¥¤¥Éʸ»úʸ»úÎó¤Ç¤¢¤ë¡£
44 ¤³¤Î´Ø¿ô¤Ï¥ï¥¤¥Éʸ»úʸ»úÎó \fIneedle\fP (½ªÃ¼¤Î NULL ¥ï¥¤¥Éʸ»ú
45 (L\(aq\\0\(aq) ¤Ï´Þ¤Þ¤Ê¤¤) ¤¬¡¢¥ï¥¤¥Éʸ»úʸ»úÎó \fIhaystack\fP ¤ÎÉôʬʸ»úÎó
46 ¤È¤·¤ÆºÇ½é¤Ë¸½¤ï¤ì¤ë°ÌÃÖ¤òõ¤¹¡£
47 .\"O .SH "RETURN VALUE"
51 .\"O function returns a pointer to the first occurrence of
52 .\"O \fIneedle\fP in \fIhaystack\fP.
53 .\"O It returns NULL if \fIneedle\fP does not occur
54 .\"O as a substring in \fIhaystack\fP.
56 ´Ø¿ô¤Ï¡¢\fIhaystack\fP Ãæ¤Ë \fIneedle\fP ¤¬¸½¤ï¤ì¤¿ºÇ½é¤Î
57 °ÌÃÖ¤òÊÖ¤¹¡£\fIneedle\fP ¤¬ \fIhaystack\fP ¤ÎÉôʬʸ»úÎó¤Ç¤Ê¤±¤ì¤Ð
60 .\"O Note the special case:
61 .\"O If \fIneedle\fP is the empty wide-character string,
62 .\"O the return value is always \fIhaystack\fP itself.
63 °Ê²¼¤ÎÆüì¤Ê¾ì¹ç¤ËÃí°Õ¤¹¤ë¤³¤È: \fIneedle\fP ¤¬¶õ¤Î¥ï¥¤¥Éʸ»úʸ»úÎó¤Ê
64 ¤é¤Ð¡¢ÊÖ¤êÃͤϾï¤Ë \fIhaystack\fP ¼«¿È¤È¤Ê¤ë¡£
65 .\"O .SH "CONFORMING TO"