X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=release%2Fman3%2Fstrcmp.3;h=4bc504f53fc9066b3adfd692c0d3c9671ed0f4a7;hb=25a9ae037fb2517d0cf4e625fb5bdbc5f06e004d;hp=5719086f7af963b968a95c24a784af80b738b25d;hpb=05edc1c11c5b516ab7b254b23c5927d6bd36ce34;p=linuxjm%2FLDP_man-pages.git diff --git a/release/man3/strcmp.3 b/release/man3/strcmp.3 index 5719086f..4bc504f5 100644 --- a/release/man3/strcmp.3 +++ b/release/man3/strcmp.3 @@ -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 @@ -32,7 +34,7 @@ .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* -.TH STRCMP 3 2010\-09\-20 "" "Linux Programmer's Manual" +.TH STRCMP 3 2012\-11\-25 "" "Linux Programmer's Manual" .SH 名前 strcmp, strncmp \- 二つの文字列を比べる .SH 書式 @@ -47,7 +49,8 @@ strcmp, strncmp \- 二つの文字列を比べる \fBstrcmp\fP() 関数は二つの文字列 \fIs1\fP と \fIs2\fP を較べる。 この関数は、 \fIs1\fP が \fIs2\fP に較べて 1)小さい、2)等しい、3)大きい場合に、 ゼロよりも 1)小さい、2)等しい、3)大きい整数を返す。 .PP -\fBstrncmp\fP() 関数は、\fIs1\fP と \fIs2\fP の最初の \fIn\fP 文字だけを比較することを除けば、strcmp()と同様である。 +\fBstrncmp\fP() 関数は、\fIs1\fP と \fIs2\fP の最初の \fIn\fP バイトだけを比較する +ことを除けば、strcmp()と同様である。 .SH 返り値 \fBstrcmp\fP() 関数と \fBstrncmp\fP() 関数は整数を返す。 この整数は、ゼロよりも、1)小さい、2)等しい、3)大きいのいずれかである。 それぞれは、\fIs1\fP(または、この文字列の最初の \fIn\fP バイト)が @@ -58,6 +61,6 @@ SVr4, 4.3BSD, C89, C99. \fBbcmp\fP(3), \fBmemcmp\fP(3), \fBstrcasecmp\fP(3), \fBstrcoll\fP(3), \fBstring\fP(3), \fBstrncasecmp\fP(3), \fBstrverscmp\fP(3), \fBwcscmp\fP(3), \fBwcsncmp\fP(3) .SH この文書について -この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.40 の一部 +この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.52 の一部 である。プロジェクトの説明とバグ報告に関する情報は http://www.kernel.org/doc/man\-pages/ に書かれている。