OSDN Git Service

(split) LDP: Update draft pages
[linuxjm/LDP_man-pages.git] / draft / man3 / scandir.3
index dbec324..a7cc047 100644 (file)
@@ -73,9 +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 返り値
-The \fBscandir\fP()  function returns the number of directory entries
-selected.  On error, \-1 is returned, with \fIerrno\fP set to indicate the cause
-of the error.
+\fBscandir\fP() 関数は、選択されたディレクトリのエントリ数を返す。 エラーの場合、 \-1 を返し、 \fIerrno\fP
+にエラーの原因を示す値を設定する。
 .PP
 関数 \fBalphasort\fP()  と \fBversionsort\fP()  は 1 番目の引き数が 2 番目の引き数に対して、
 [小さい/等しい/大きい] かに応じて、0 より [小さい/等しい/大きい] 値を返す。