OSDN Git Service

(split) LDP: Update drafts based on LDP 3.52 release
[linuxjm/LDP_man-pages.git] / draft / man3 / readdir.3
index 2207be1..5466248 100644 (file)
@@ -38,7 +38,7 @@
 .\" This file was generated with po4a. Translate the source file.
 .\"
 .\"*******************************************************************
-.TH READDIR 3 2013\-03\-24 "" "Linux Programmer's Manual"
+.TH READDIR 3 2013\-06\-21 "" "Linux Programmer's Manual"
 .SH 名前
 readdir, readdir_r \- ディレクトリを読み込む
 .SH 書式
@@ -80,9 +80,11 @@ struct dirent {
 .fi
 .in
 .PP
-\fIdirent\fP 構造体のフィールドで POSIX.1 で要求されているのは、 \fId_name\fP[] と (XSI 拡張での)  \fId_ino\fP
-だけである。 \fId_name\fP[] はその大きさも規定されておらず、 このフィールドには最大で \fBNAME_MAX\fP 個の文字と、それに続く終端の
-NULL バイトが格納される。 他のフィールドは非標準であり、全てのシステムに存在するわけではない。 詳細については、下記の「注意」を参照のこと。
+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.
 .PP
 \fBreaddir\fP()  によって返されるデータは、それ以降の同じストリームに対する \fBreaddir\fP()
 の呼び出しによって上書きされる可能性がある。
@@ -103,6 +105,11 @@ NULL バイトが格納される。 他のフィールドは非標準であり
 .TP 
 \fBEBADF\fP
 ディレクトリストリームディスクリプタ \fIdirp\fP が無効である。
+.SH ATTRIBUTES
+.SS "Multithreading (see pthreads(7))"
+The \fBreaddir\fP()  function is not thread\-safe.
+.LP
+The \fBreaddir_r\fP()  function is thread\-safe.
 .SH 準拠
 SVr4, 4.3BSD, POSIX.1\-2001.
 .SH 注意
@@ -175,6 +182,6 @@ entryp = malloc(len);
 \fBoffsetof\fP(3), \fBopendir\fP(3), \fBrewinddir\fP(3), \fBscandir\fP(3),
 \fBseekdir\fP(3), \fBtelldir\fP(3)
 .SH この文書について
-この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.51 の一部
+この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.52 の一部
 である。プロジェクトの説明とバグ報告に関する情報は
 http://www.kernel.org/doc/man\-pages/ に書かれている。