OSDN Git Service

(split) LDP: Update draft pages
[linuxjm/LDP_man-pages.git] / draft / man3 / memmem.3
index 3a62285..757e06f 100644 (file)
@@ -55,10 +55,9 @@ Linux のライブラリに関していうと、 libc 5.0.9 と それ以前の
 \fIneedle\fP と \fIhaystack\fP 引数が 入れ替わっており、 \fIneedle\fP が最初に出現する部分の最後を
 示すポインタが返されていたのである。
 
-Both old and new libc's have the bug that if \fIneedle\fP is empty,
-\fIhaystack\-1\fP (instead of \fIhaystack\fP)  is returned.  And glibc 2.0 makes it
-worse, returning a pointer to the last byte of \fIhaystack\fP.  This is fixed
-in glibc 2.1.
+新旧両方の libc ライブラリが、 \fIneedle\fP が空の場合 (\fIhaystack\fP のかわりに) \fIhaystack\-1\fP\ が
+返されるというバグを持っている。 そして、glibc 2.0 ではさらに悪くなっており、 \fIhaystack\fP の最後のバイトへのポインタを返す。
+これは glibc 2.1 で修正された。
 .SH 関連項目
 \fBstrstr\fP(3)
 .SH この文書について