OSDN Git Service

(split) LDP: Update release pages
[linuxjm/LDP_man-pages.git] / release / man3 / strcmp.3
index 44fdebb..4bc504f 100644 (file)
@@ -49,8 +49,8 @@ strcmp, strncmp \- 二つの文字列を比べる
 \fBstrcmp\fP()  関数は二つの文字列 \fIs1\fP と \fIs2\fP を較べる。 この関数は、 \fIs1\fP が \fIs2\fP に較べて
 1)小さい、2)等しい、3)大きい場合に、 ゼロよりも 1)小さい、2)等しい、3)大きい整数を返す。
 .PP
-The \fBstrncmp\fP()  function is similar, except it compares the only first (at
-most)  \fIn\fP bytes of \fIs1\fP and \fIs2\fP.
+\fBstrncmp\fP() 関数は、\fIs1\fP と \fIs2\fP の最初の \fIn\fP バイトだけを比較する
+ことを除けば、strcmp()と同様である。
 .SH 返り値
 \fBstrcmp\fP()  関数と \fBstrncmp\fP()  関数は整数を返す。
 この整数は、ゼロよりも、1)小さい、2)等しい、3)大きいのいずれかである。 それぞれは、\fIs1\fP(または、この文字列の最初の \fIn\fP バイト)が