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.
44 この関数はワイド文字文字列 \fIneedle\fP (終端の NULL ワイド文字
45 (L\(aq\\0\(aq) は含まない) が、ワイド文字文字列 \fIhaystack\fP の部分文字列
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"