OSDN Git Service

Update release for LDP 3.67
[linuxjm/LDP_man-pages.git] / release / man3 / strstr.3
index 12c56f0..ec2346a 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
 .\" This file was generated with po4a. Translate the source file.
 .\"
 .\"*******************************************************************
-.TH STRSTR 3 2011\-09\-28 GNU "Linux Programmer's Manual"
+.\"
+.\" 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 2014\-01\-22 GNU "Linux Programmer's Manual"
 .SH 名前
 strstr, strcasestr \- 部分文字列の位置を示す
 .SH 書式
@@ -49,12 +59,18 @@ strstr, strcasestr \- 部分文字列の位置を示す
 \fBchar *strcasestr(const char *\fP\fIhaystack\fP\fB, const char *\fP\fIneedle\fP\fB);\fP
 .fi
 .SH 説明
-\fBstrstr\fP()  関数は、部分文字列 \fIneedle\fP が文字列 \fIhaystack\fP 中 で最初に現れる位置を見つける。 文字列を終端
-NULL バイト (\(aq\e0\(aq) は比較されない。
+\fBstrstr\fP()  関数は、部分文字列 \fIneedle\fP が文字列 \fIhaystack\fP 中 で最初に現れる位置を見つける。
+文字列を終端ヌルバイト (\(aq\e0\(aq) は比較されない。
 
 \fBstrcasestr\fP()  関数は \fBstrstr\fP()  関数と同様だが、 両方の引数に対して大文字小文字を無視する。
 .SH 返り値
-これらの関数は、部分文字列の開始を指すポインタを返し、 もし部分文字列が見つからない場合は NULL を返す。
+これらの関数は、見つかった部分文字列の開始を指すポインタを返し、 もし部分文字列が見つからない場合は NULL を返す。
+.SH 属性
+.SS "マルチスレッディング (pthreads(7) 参照)"
+\fBstrstr\fP() 関数はスレッドセーフである。
+.LP
+\fBstrcasestr\fP() 関数は、例外付きのスレッドセーフである。実行中に \fBsetlocale\fP(3)
+を呼び出してロケールを変更しない限り、マルチスレッドアプリケーションで安全に使用することができる。
 .SH 準拠
 \fBstrstr\fP()  関数は C89 と C99 に準拠している。 \fBstrcasestr\fP()  関数は非標準拡張である。
 .SH バグ
@@ -65,6 +81,6 @@ Linux libc の初期のバージョン(4.5.26 まで)は \fBstrstr\fP()  関数
 \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.40 の一部
+この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.67 の一部
 である。プロジェクトの説明とバグ報告に関する情報は
 http://www.kernel.org/doc/man\-pages/ に書かれている。