.\" This file was generated with po4a. Translate the source file.
.\"
.\"*******************************************************************
-.TH READDIR 2 2012\-07\-13 Linux "Linux Programmer's Manual"
+.TH READDIR 2 2013\-06\-21 Linux "Linux Programmer's Manual"
.SH 名前
readdir \- ディレクトリ・エントリを読み込む
.SH 書式
.fi
.in
.PP
-\fId_ino\fP は inode 番号である。 \fId_off\fP はディレクトリの最初からこの \fIold_linux_dirent\fP まで距離である。
-\fId_reclen\fP は \fId_name\fP の大きさで、終端のヌルバイト (null byte) を含まない。 \fId_name\fP
-はヌルバイトで終わるファイル名である。
+\fId_ino\fP is an inode number. \fId_off\fP is the distance from the start of the
+directory to this \fIold_linux_dirent\fP. \fId_reclen\fP is the size of
+\fId_name\fP, not counting the terminating null byte (\(aq\e0\(aq). \fId_name\fP
+is a null\-terminated filename.
.SH 返り値
成功した場合は、1 が返される。 ディレクトリの最後では 0 が返される。 エラーの場合は \-1 が返され、 \fIerrno\fP が適切に設定される。
.SH エラー
glibc はこのシステムコールに対するラッパー関数を提供していない。 \fBsyscall\fP(2) を使って呼び出すこと。
\fIold_linux_dirent\fP 構造体を自分自身で定義する必要がある。しかし、たいていはこのシステムコールではなく \fBreaddir\fP(3)
を使うべき場面のことが多い。
+
+このシステムコールは x86\-64 では存在しない。
.SH 関連項目
\fBgetdents\fP(2), \fBreaddir\fP(3)
.SH この文書について
-この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.50 の一部
+この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.52 の一部
である。プロジェクトの説明とバグ報告に関する情報は
http://www.kernel.org/doc/man\-pages/ に書かれている。