OSDN Git Service

22a7f18876686ab9e5a741f05b9919f82f31133f
[linuxjm/LDP_man-pages.git] / draft / man3 / wcsstr.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:50:55 JST 1999
16 .\"           by FUJIWARA Teruyoshi <fujiwara@linux.or.jp>
17 .\"
18 .TH WCSSTR 3  2011-09-28 "GNU" "Linux Programmer's Manual"
19 .\"O .SH NAME
20 .SH 名前
21 .\"O wcsstr \- locate a substring in a wide-character string
22 wcsstr \- ワイド文字文字列中の部分文字列の位置を特定する
23 .\"O .SH SYNOPSIS
24 .SH 書式
25 .nf
26 .B #include <wchar.h>
27 .sp
28 .BI "wchar_t *wcsstr(const wchar_t *" haystack ", const wchar_t *" needle );
29 .fi
30 .\"O .SH DESCRIPTION
31 .SH 説明
32 .\"O The
33 .\"O .BR wcsstr ()
34 .\"O function is the wide-character equivalent of the
35 .\"O .BR strstr (3)
36 .\"O function.
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.
40 .BR wcsstr ()
41 関数は、
42 .BR strstr (3)
43 関数に対応するワイド文字文字列である。
44 この関数はワイド文字文字列 \fIneedle\fP (終端の NULL ワイド文字
45 (L\(aq\\0\(aq) は含まない) が、ワイド文字文字列 \fIhaystack\fP の部分文字列
46 として最初に現われる位置を探す。
47 .\"O .SH "RETURN VALUE"
48 .SH 返り値
49 .\"O The
50 .\"O .BR wcsstr ()
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.
55 .BR wcsstr ()
56 関数は、\fIhaystack\fP 中に \fIneedle\fP が現われた最初の
57 位置を返す。\fIneedle\fP が \fIhaystack\fP の部分文字列でなければ
58 NULL を返す。
59 .PP
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"
66 .SH 準拠
67 C99.
68 .\"O .SH "SEE ALSO"
69 .SH 関連項目
70 .BR strstr (3),
71 .BR wcschr (3)