.fi
.in
.PP
-The only fields in the \fIdirent\fP structure that are mandated by POSIX.1 are:
-\fId_name\fP[], of unspecified size, with at most \fBNAME_MAX\fP characters
-preceding the terminating null byte (\(aq\e0\(aq); and (as an XSI extension)
-\fId_ino\fP. The other fields are unstandardized, and not present on all
-systems; see NOTES below for some further details.
+\fIdirent\fP 構造体のフィールドで POSIX.1 で要求されているのは、 \fId_name\fP[] と (XSI 拡張での) \fId_ino\fP
+だけである。 \fId_name\fP[] はその大きさも規定されておらず、 このフィールドには最大で \fBNAME_MAX\fP 個の文字と、それに続く終端の
+NULL バイト (\(aq\e0\(aq)が格納される。 他のフィールドは非標準であり、全てのシステムに存在するわけではない。
+詳細については、下記の「注意」を参照のこと。
.PP
\fBreaddir\fP() によって返されるデータは、それ以降の同じストリームに対する \fBreaddir\fP()
の呼び出しによって上書きされる可能性がある。
.TP
\fBEBADF\fP
ディレクトリストリームディスクリプタ \fIdirp\fP が無効である。
-.SH ATTRIBUTES
-.SS "Multithreading (see pthreads(7))"
-The \fBreaddir\fP() function is not thread\-safe.
+.SH 属性
+.SS "マルチスレッディング (pthreads(7) 参照)"
+\fBreaddir\fP() 関数はスレッドセーフではない。
.LP
-The \fBreaddir_r\fP() function is thread\-safe.
+\fBreaddir_r\fP() 関数はスレッドセーフである。
.SH 準拠
SVr4, 4.3BSD, POSIX.1\-2001.
.SH 注意