OSDN Git Service

(split) LDP: Update releases based on LDP 3.52 release
[linuxjm/LDP_man-pages.git] / release / man3 / strstr.3
index 7459488..e67d18e 100644 (file)
@@ -1,5 +1,6 @@
 .\" Copyright 1993 David Metcalfe (david@prism.demon.co.uk)
 .\"
+.\" %%%LICENSE_START(VERBATIM)
 .\" Permission is granted to make and distribute verbatim copies of this
 .\" manual provided the copyright notice and this permission notice are
 .\" preserved on all copies.
@@ -19,6 +20,7 @@
 .\"
 .\" Formatted or processed versions of this manual, if unaccompanied by
 .\" the source, must acknowledge the copyright and authors of this work.
+.\" %%%LICENSE_END
 .\"
 .\" References consulted:
 .\"     Linux libc source code
 .\" Added history, aeb, 980113.
 .\" 2005-05-05 mtk: added strcasestr()
 .\"
-.\" Japanese Version Copyright (c) 1997 HIROFUMI Nishizuka
-.\"    all rights reserved.
-.\" Translated Tue Dec 16 10:06:54 JST 1997
-.\"    by HIROFUMI Nishizuka <nishi@rpts.cl.nec.co.jp>
-.\" Updated Sun Sep  5 JST 1999 by by Kentaro Shirakata <argrath@yo.rim.or.jp>
-.\" Updated Wed Apr 20 JST 2005 by by Kentaro Shirakata <argrath@ub32.org>
+.\"*******************************************************************
 .\"
-.TH STRSTR 3  2011-09-28 "GNU" "Linux Programmer's Manual"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH STRSTR 3 2011\-09\-28 GNU "Linux Programmer's Manual"
 .SH 名前
 strstr, strcasestr \- 部分文字列の位置を示す
 .SH 書式
 .nf
-.B #include <string.h>
+\fB#include <string.h>\fP
 .sp
-.BI "char *strstr(const char *" haystack ", const char *" needle );
+\fBchar *strstr(const char *\fP\fIhaystack\fP\fB, const char *\fP\fIneedle\fP\fB);\fP
 .sp
-.BR "#define _GNU_SOURCE" "         /* feature_test_macros(7) 参照 */"
+\fB#define _GNU_SOURCE\fP         /* feature_test_macros(7) 参照 */
 .sp
-.B #include <string.h>
+\fB#include <string.h>\fP
 .sp
-.BI "char *strcasestr(const char *" haystack ", const char *" needle );
+\fBchar *strcasestr(const char *\fP\fIhaystack\fP\fB, const char *\fP\fIneedle\fP\fB);\fP
 .fi
 .SH 説明
-.BR strstr ()
-関数は、部分文字列 \fIneedle\fP が文字列 \fIhaystack\fP 中
-で最初に現れる位置を見つける。
-文字列を終端 NULL バイト (\(aq\\0\(aq) は比較されない。
+\fBstrstr\fP()  関数は、部分文字列 \fIneedle\fP が文字列 \fIhaystack\fP 中 で最初に現れる位置を見つける。 文字列を終端
+NULL バイト (\(aq\e0\(aq) は比較されない。
 
-.BR strcasestr ()
-関数は
-.BR strstr ()
-関数と同様だが、
-両方の引数に対して大文字小文字を無視する。
+\fBstrcasestr\fP()  関数は \fBstrstr\fP()  関数と同様だが、 両方の引数に対して大文字小文字を無視する。
 .SH 返り値
-これらの関数は、部分文字列の開始を指すポインタを返し、
-もし部分文字列が見つからない場合は NULL を返す。
+これらの関数は、部分文字列の開始を指すポインタを返し、 もし部分文字列が見つからない場合は NULL を返す。
 .SH 準拠
-.BR strstr ()
-関数は C89 と C99 に準拠している。
-.BR strcasestr ()
-関数は非標準拡張である。
+\fBstrstr\fP()  関数は C89 と C99 に準拠している。 \fBstrcasestr\fP()  関数は非標準拡張である。
 .SH バグ
-Linux libc の初期のバージョン(4.5.26 まで)は
-.BR strstr ()
-関数の \fIneedle\fP 引数に空文字列を指定できない。
-最近のバージョン(4.6.27 以降)は正しく動作し、
-\fIneedle\fP が空の時は \fIhaystack\fP を返す。
+Linux libc の初期のバージョン(4.5.26 まで)は \fBstrstr\fP()  関数の \fIneedle\fP 引数に空文字列を指定できない。
+最近のバージョン(4.6.27 以降)は正しく動作し、 \fIneedle\fP が空の時は \fIhaystack\fP を返す。
 .SH 関連項目
-.BR index (3),
-.BR memchr (3),
-.BR rindex (3),
-.BR strcasecmp (3),
-.BR strchr (3),
-.BR string (3),
-.BR strpbrk (3),
-.BR strsep (3),
-.BR strspn (3),
-.BR strtok (3),
-.BR wcsstr (3)
+\fBindex\fP(3), \fBmemchr\fP(3), \fBrindex\fP(3), \fBstrcasecmp\fP(3), \fBstrchr\fP(3),
+\fBstring\fP(3), \fBstrpbrk\fP(3), \fBstrsep\fP(3), \fBstrspn\fP(3), \fBstrtok\fP(3),
+\fBwcsstr\fP(3)
+.SH この文書について
+この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.52 の一部
+である。プロジェクトの説明とバグ報告に関する情報は
+http://www.kernel.org/doc/man\-pages/ に書かれている。