OSDN Git Service

(split) LDP: draft snapshot generated from latest ja.po files.
[linuxjm/LDP_man-pages.git] / draft / man3 / strstr.3
index f0a5e69..d250e8e 100644 (file)
 .\" 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"
-.\"O .SH NAME
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH STRSTR 3 2011\-09\-28 GNU "Linux Programmer's Manual"
 .SH 名前
-.\"O strstr, strcasestr \- locate a substring
 strstr, strcasestr \- 部分文字列の位置を示す
-.\"O .SH SYNOPSIS
 .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
-.\"O .BR "#define _GNU_SOURCE" "         /* See feature_test_macros(7) */"
-.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
-.\"O .SH DESCRIPTION
 .SH 説明
-.\"O The
-.\"O .BR strstr ()
-.\"O function finds the first occurrence of the substring
-.\"O \fIneedle\fP in the string \fIhaystack\fP.
-.\"O The terminating null bytes (\(aq\\0\(aq) are not compared.
-.BR strstr ()
-関数は、部分文字列 \fIneedle\fP が文字列 \fIhaystack\fP 中
-で最初に現れる位置を見つける。
-文字列を終端 NULL バイト (\(aq\\0\(aq) は比較されない。
+\fBstrstr\fP()  関数は、部分文字列 \fIneedle\fP が文字列 \fIhaystack\fP 中 で最初に現れる位置を見つける。 文字列を終端
+NULL バイト (\(aq\e0\(aq) は比較されない。
 
-.\"O The
-.\"O .BR strcasestr ()
-.\"O function is like
-.\"O .BR strstr (),
-.\"O but ignores the case of both arguments.
-.BR strcasestr ()
-関数は
-.BR strstr ()
-関数と同様だが、
-両方の引数に対して大文字小文字を無視する。
-.\"O .SH "RETURN VALUE"
+\fBstrcasestr\fP()  関数は \fBstrstr\fP()  関数と同様だが、 両方の引数に対して大文字小文字を無視する。
 .SH 返り値
-.\"O These functions return a pointer to the beginning of the
-.\"O substring, or NULL if the substring is not found.
-これらの関数は、部分文字列の開始を指すポインタを返し、
-もし部分文字列が見つからない場合は NULL を返す。
-.\"O .SH "CONFORMING TO"
+これらの関数は、部分文字列の開始を指すポインタを返し、 もし部分文字列が見つからない場合は NULL を返す。
 .SH 準拠
-.\"O The
-.\"O .BR strstr ()
-.\"O function conforms to C89 and C99.
-.\"O The
-.\"O .BR strcasestr ()
-.\"O function is a nonstandard extension.
-.BR strstr ()
-関数は C89 と C99 に準拠している。
-.BR strcasestr ()
-関数は非標準拡張である。
-.\"O .SH BUGS
+\fBstrstr\fP()  関数は C89 と C99 に準拠している。 \fBstrcasestr\fP()  関数は非標準拡張である。
 .SH バグ
-.\"O Early versions of Linux libc (like 4.5.26) would not allow
-.\"O an empty \fIneedle\fP argument for
-.\"O .BR strstr ().
-.\"O Later versions (like 4.6.27) work correctly,
-.\"O and return \fIhaystack\fP when \fIneedle\fP is empty.
-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)