X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=release%2Fman3%2Fstrverscmp.3;h=5f9df8dff51c7826895a5fd1ddd8773672c2b534;hb=d6ffc03b1c10eddeb4564716656cf89586cce455;hp=9d5c02d592ac3272f5e447abb230612d1a12122d;hpb=05edc1c11c5b516ab7b254b23c5927d6bd36ce34;p=linuxjm%2FLDP_man-pages.git diff --git a/release/man3/strverscmp.3 b/release/man3/strverscmp.3 index 9d5c02d5..5f9df8df 100644 --- a/release/man3/strverscmp.3 +++ b/release/man3/strverscmp.3 @@ -1,5 +1,6 @@ .\" Copyright (C) 2001 Andries Brouwer .\" +.\" %%%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 .\" .\"******************************************************************* .\" @@ -44,7 +46,7 @@ strverscmp \- 2つのバージョン文字列を比較する \fBversionsort\fP(3) を使って実装されているが、この中で \fBstrverscmp\fP() が使用されている。 このように \fBstrverscmp\fP() の役目は2つの文字列を比較して「正しい」順序を探すことである。 これに対して \fBstrcmp\fP(3) -は辞書順で比較した結果を返すだけである。 関数 \fBstrverscmp\fP() はロケールのカテゴリである \fBLC_COLLATE\fP を使用しない。 +は辞書順だけで比較した結果を返す。 関数 \fBstrverscmp\fP() はロケールのカテゴリである \fBLC_COLLATE\fP を使用しない。 このことから、この関数が主にアスキー文字から成る文字列を 想定していることが分かる。 この関数の動作は以下の通りである。 両方の文字列が等しい場合、0 を返す。 それ以外の場合、その直前までは両方の文字列が等しく、 @@ -63,6 +65,6 @@ strverscmp \- 2つのバージョン文字列を比較する .SH 関連項目 \fBrename\fP(1), \fBstrcasecmp\fP(3), \fBstrcmp\fP(3), \fBstrcoll\fP(3) .SH この文書について -この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.40 の一部 +この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.51 の一部 である。プロジェクトの説明とバグ報告に関する情報は http://www.kernel.org/doc/man\-pages/ に書かれている。