X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=release%2Fman3%2Fscandir.3;h=a7cc0470a90038f21ff30519b118ab37606a5eb7;hb=25a9ae037fb2517d0cf4e625fb5bdbc5f06e004d;hp=6b9d52d2c27090f181b5b7cafba909bc5c4136bd;hpb=05edc1c11c5b516ab7b254b23c5927d6bd36ce34;p=linuxjm%2FLDP_man-pages.git diff --git a/release/man3/scandir.3 b/release/man3/scandir.3 index 6b9d52d2..a7cc0470 100644 --- a/release/man3/scandir.3 +++ b/release/man3/scandir.3 @@ -1,5 +1,6 @@ .\" Copyright (C) 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 @@ -36,7 +38,7 @@ .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* -.TH SCANDIR 3 2012\-04\-26 GNU "Linux Programmer's Manual" +.TH SCANDIR 3 2013\-04\-19 GNU "Linux Programmer's Manual" .SH 名前 scandir, alphasort, versionsort \- ディレクトリを走査する .SH 書式 @@ -71,7 +73,8 @@ glibc 向けの機能検査マクロの要件 (\fBfeature_test_macros\fP(7) 参 \fBalphasort\fP() は \fBstrcoll\fP(3) を用いてディレクトリエントリをソートし、 \fBversionsort\fP() は文字列 \fI(*a)\->d_name\fP と \fI(*b)\->d_name\fP に対して \fBstrverscmp\fP(3) を用いる。 .SH 返り値 -関数 \fBscandir\fP() は選択されたエントリの数か、 (エラーが発生した場合) \-1 を返す。 +\fBscandir\fP() 関数は、選択されたディレクトリのエントリ数を返す。 エラーの場合、 \-1 を返し、 \fIerrno\fP +にエラーの原因を示す値を設定する。 .PP 関数 \fBalphasort\fP() と \fBversionsort\fP() は 1 番目の引き数が 2 番目の引き数に対して、 [小さい/等しい/大きい] かに応じて、0 より [小さい/等しい/大きい] 値を返す。 @@ -134,6 +137,6 @@ main(void) \fBrewinddir\fP(3), \fBscandirat\fP(3), \fBseekdir\fP(3), \fBstrcmp\fP(3), \fBstrcoll\fP(3), \fBstrverscmp\fP(3), \fBtelldir\fP(3) .SH この文書について -この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.40 の一部 +この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.52 の一部 である。プロジェクトの説明とバグ報告に関する情報は http://www.kernel.org/doc/man\-pages/ に書かれている。