OSDN Git Service

Update README
[linuxjm/LDP_man-pages.git] / po4a / dirent / po / ja.po
index 5a8703f..e115e95 100644 (file)
@@ -6,8 +6,8 @@
 msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2012-04-25 05:36+0900\n"
-"PO-Revision-Date: 2012-04-27 04:54+0900\n"
+"POT-Creation-Date: 2015-02-04 23:30+0900\n"
+"PO-Revision-Date: 2015-02-04 23:37+0900\n"
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
 "Language-Team: LANGUAGE <LL@li.org>\n"
 "Language: \n"
@@ -16,90 +16,90 @@ msgstr ""
 "Content-Transfer-Encoding: 8bit\n"
 
 #. type: TH
-#: build/C/man3/closedir.3:29
+#: build/C/man3/closedir.3:31
 #, no-wrap
 msgid "CLOSEDIR"
 msgstr "CLOSEDIR"
 
 #. type: TH
-#: build/C/man3/closedir.3:29
+#: build/C/man3/closedir.3:31
 #, no-wrap
 msgid "2008-09-23"
 msgstr "2008-09-23"
 
 #. type: TH
-#: build/C/man3/closedir.3:29 build/C/man3/dirfd.3:23
-#: build/C/man2/getdents.2:27 build/C/man3/getdirentries.3:27
-#: build/C/man3/opendir.3:30 build/C/man2/readdir.2:28
-#: build/C/man3/readdir.3:34 build/C/man3/rewinddir.3:29
-#: build/C/man3/scandir.3:34 build/C/man3/scandirat.3:26
-#: build/C/man3/seekdir.3:28 build/C/man3/telldir.3:28
+#: build/C/man3/closedir.3:31 build/C/man3/dirfd.3:25
+#: build/C/man2/getdents.2:30 build/C/man3/getdirentries.3:27
+#: build/C/man3/opendir.3:32 build/C/man2/readdir.2:30
+#: build/C/man3/readdir.3:36 build/C/man3/rewinddir.3:31
+#: build/C/man3/scandir.3:62 build/C/man3/seekdir.3:31
+#: build/C/man3/telldir.3:30
 #, no-wrap
 msgid "Linux Programmer's Manual"
 msgstr "Linux Programmer's Manual"
 
 #. type: SH
-#: build/C/man3/closedir.3:30 build/C/man3/dirfd.3:24
-#: build/C/man2/getdents.2:28 build/C/man3/getdirentries.3:28
-#: build/C/man3/opendir.3:31 build/C/man2/readdir.2:29
-#: build/C/man3/readdir.3:35 build/C/man3/rewinddir.3:30
-#: build/C/man3/scandir.3:35 build/C/man3/scandirat.3:27
-#: build/C/man3/seekdir.3:29 build/C/man3/telldir.3:29
+#: build/C/man3/closedir.3:32 build/C/man3/dirfd.3:26
+#: build/C/man2/getdents.2:31 build/C/man3/getdirentries.3:28
+#: build/C/man3/opendir.3:33 build/C/man2/readdir.2:31
+#: build/C/man3/readdir.3:37 build/C/man3/rewinddir.3:32
+#: build/C/man3/scandir.3:63 build/C/man3/seekdir.3:32
+#: build/C/man3/telldir.3:31
 #, no-wrap
 msgid "NAME"
 msgstr "名前"
 
 #. type: Plain text
-#: build/C/man3/closedir.3:32
+#: build/C/man3/closedir.3:34
 msgid "closedir - close a directory"
 msgstr "closedir - ディレクトリをクローズする"
 
 #. type: SH
-#: build/C/man3/closedir.3:32 build/C/man3/dirfd.3:26
-#: build/C/man2/getdents.2:30 build/C/man3/getdirentries.3:30
-#: build/C/man3/opendir.3:33 build/C/man2/readdir.2:31
-#: build/C/man3/readdir.3:37 build/C/man3/rewinddir.3:32
-#: build/C/man3/scandir.3:37 build/C/man3/scandirat.3:29
-#: build/C/man3/seekdir.3:32 build/C/man3/telldir.3:31
+#: build/C/man3/closedir.3:34 build/C/man3/dirfd.3:28
+#: build/C/man2/getdents.2:33 build/C/man3/getdirentries.3:30
+#: build/C/man3/opendir.3:35 build/C/man2/readdir.2:33
+#: build/C/man3/readdir.3:39 build/C/man3/rewinddir.3:34
+#: build/C/man3/scandir.3:66 build/C/man3/seekdir.3:35
+#: build/C/man3/telldir.3:33
 #, no-wrap
 msgid "SYNOPSIS"
 msgstr "書式"
 
 #. type: Plain text
-#: build/C/man3/closedir.3:35 build/C/man3/opendir.3:36
-#: build/C/man3/rewinddir.3:35
+#: build/C/man3/closedir.3:37 build/C/man3/opendir.3:38
+#: build/C/man3/rewinddir.3:37
 #, no-wrap
 msgid "B<#include E<lt>sys/types.hE<gt>>\n"
 msgstr "B<#include E<lt>sys/types.hE<gt>>\n"
 
 #. type: Plain text
-#: build/C/man3/closedir.3:37 build/C/man3/opendir.3:38
-#: build/C/man3/readdir.3:40 build/C/man3/rewinddir.3:37
-#: build/C/man3/scandir.3:40 build/C/man3/seekdir.3:35
-#: build/C/man3/telldir.3:34
+#: build/C/man3/closedir.3:39 build/C/man3/opendir.3:40
+#: build/C/man3/readdir.3:42 build/C/man3/rewinddir.3:39
+#: build/C/man3/scandir.3:69 build/C/man3/seekdir.3:38
+#: build/C/man3/telldir.3:36
 #, no-wrap
 msgid "B<#include E<lt>dirent.hE<gt>>\n"
 msgstr "B<#include E<lt>dirent.hE<gt>>\n"
 
 #. type: Plain text
-#: build/C/man3/closedir.3:39
+#: build/C/man3/closedir.3:41
 #, no-wrap
 msgid "B<int closedir(DIR *>I<dirp>B<);>\n"
 msgstr "B<int closedir(DIR *>I<dirp>B<);>\n"
 
 #. type: SH
-#: build/C/man3/closedir.3:40 build/C/man3/dirfd.3:52
-#: build/C/man2/getdents.2:35 build/C/man3/getdirentries.3:43
-#: build/C/man3/opendir.3:61 build/C/man2/readdir.2:37
-#: build/C/man3/readdir.3:59 build/C/man3/rewinddir.3:40
-#: build/C/man3/scandir.3:63 build/C/man3/scandirat.3:45
-#: build/C/man3/seekdir.3:46 build/C/man3/telldir.3:45
+#: build/C/man3/closedir.3:42 build/C/man3/dirfd.3:54
+#: build/C/man2/getdents.2:41 build/C/man3/getdirentries.3:43
+#: build/C/man3/opendir.3:63 build/C/man2/readdir.2:42
+#: build/C/man3/readdir.3:61 build/C/man3/rewinddir.3:42
+#: build/C/man3/scandir.3:118 build/C/man3/seekdir.3:49
+#: build/C/man3/telldir.3:47
 #, no-wrap
 msgid "DESCRIPTION"
 msgstr "説明"
 
 #. type: Plain text
-#: build/C/man3/closedir.3:51
+#: build/C/man3/closedir.3:55
 msgid ""
 "The B<closedir>()  function closes the directory stream associated with "
 "I<dirp>.  A successful call to B<closedir>()  also closes the underlying "
@@ -109,24 +109,24 @@ msgstr ""
 "B<closedir>()  関数は I<dirp> に関連付けられた ディレクトリストリームをクロー"
 "ズする。\n"
 "B<closedir>()  の呼び出しが成功すると、 I<dirp> に関連付けられた\n"
-"ファイルディスクリプタもクローズされる。\n"
-"ディレクトリストリームディスクリプタ (directory stream descriptor) I<dirp> "
+"ã\83\95ã\82¡ã\82¤ã\83«ã\83\87ã\82£ã\82¹ã\82¯ã\83ªã\83\97ã\82¿ã\83¼ã\82\82ã\82¯ã\83­ã\83¼ã\82ºã\81\95ã\82\8cã\82\8bã\80\82\n"
+"ディレクトリストリームディスクリプタ (directory stream descriptor) I<dirp> "
 "は、\n"
 "この呼び出しの後では使用することができない。"
 
 #. type: SH
-#: build/C/man3/closedir.3:51 build/C/man3/dirfd.3:67
-#: build/C/man2/getdents.2:136 build/C/man3/getdirentries.3:56
-#: build/C/man3/opendir.3:81 build/C/man2/readdir.2:86
-#: build/C/man3/readdir.3:117 build/C/man3/rewinddir.3:45
-#: build/C/man3/scandir.3:90 build/C/man3/scandirat.3:79
-#: build/C/man3/seekdir.3:58 build/C/man3/telldir.3:50
+#: build/C/man3/closedir.3:55 build/C/man3/dirfd.3:69
+#: build/C/man2/getdents.2:142 build/C/man3/getdirentries.3:56
+#: build/C/man3/opendir.3:83 build/C/man2/readdir.2:91
+#: build/C/man3/readdir.3:119 build/C/man3/rewinddir.3:49
+#: build/C/man3/scandir.3:184 build/C/man3/seekdir.3:60
+#: build/C/man3/telldir.3:52
 #, no-wrap
 msgid "RETURN VALUE"
 msgstr "返り値"
 
 #. type: Plain text
-#: build/C/man3/closedir.3:58
+#: build/C/man3/closedir.3:62
 msgid ""
 "The B<closedir>()  function returns 0 on success.  On error, -1 is returned, "
 "and I<errno> is set appropriately."
@@ -135,59 +135,59 @@ msgstr ""
 "I<errno> が適切に設定される。"
 
 #. type: SH
-#: build/C/man3/closedir.3:58 build/C/man3/dirfd.3:70
-#: build/C/man2/getdents.2:142 build/C/man3/getdirentries.3:62
-#: build/C/man3/opendir.3:90 build/C/man2/readdir.2:92
-#: build/C/man3/readdir.3:141 build/C/man3/scandir.3:103
-#: build/C/man3/scandirat.3:86 build/C/man3/telldir.3:58
+#: build/C/man3/closedir.3:62 build/C/man3/dirfd.3:74
+#: build/C/man2/getdents.2:148 build/C/man3/getdirentries.3:62
+#: build/C/man3/opendir.3:92 build/C/man2/readdir.2:97
+#: build/C/man3/readdir.3:143 build/C/man3/scandir.3:200
+#: build/C/man3/telldir.3:60
 #, no-wrap
 msgid "ERRORS"
 msgstr "エラー"
 
 #. type: TP
-#: build/C/man3/closedir.3:59 build/C/man2/getdents.2:143
-#: build/C/man3/opendir.3:94 build/C/man2/readdir.2:93
-#: build/C/man3/readdir.3:142 build/C/man3/scandirat.3:93
-#: build/C/man3/telldir.3:59
+#: build/C/man3/closedir.3:63 build/C/man2/getdents.2:149
+#: build/C/man3/opendir.3:96 build/C/man2/readdir.2:98
+#: build/C/man3/readdir.3:144 build/C/man3/scandir.3:213
+#: build/C/man3/telldir.3:61
 #, no-wrap
 msgid "B<EBADF>"
 msgstr "B<EBADF>"
 
 #. type: Plain text
-#: build/C/man3/closedir.3:62 build/C/man3/readdir.3:145
-#: build/C/man3/telldir.3:62
+#: build/C/man3/closedir.3:67 build/C/man3/readdir.3:147
+#: build/C/man3/telldir.3:64
 msgid "Invalid directory stream descriptor I<dirp>."
-msgstr "ディレクトリストリームディスクリプタ I<dirp> が無効である。"
+msgstr "ディレクトリストリームディスクリプタ I<dirp> が無効である。"
 
 #. type: SH
-#: build/C/man3/closedir.3:62 build/C/man3/dirfd.3:83
-#: build/C/man2/getdents.2:159 build/C/man3/getdirentries.3:64
-#: build/C/man3/opendir.3:116 build/C/man2/readdir.2:109
-#: build/C/man3/readdir.3:145 build/C/man3/rewinddir.3:49
-#: build/C/man3/scandir.3:116 build/C/man3/scandirat.3:106
-#: build/C/man3/seekdir.3:62 build/C/man3/telldir.3:62
+#: build/C/man3/closedir.3:67 build/C/man3/dirfd.3:92
+#: build/C/man2/getdents.2:165 build/C/man3/getdirentries.3:69
+#: build/C/man3/opendir.3:118 build/C/man2/readdir.2:114
+#: build/C/man3/readdir.3:156 build/C/man3/rewinddir.3:58
+#: build/C/man3/scandir.3:229 build/C/man3/seekdir.3:69
+#: build/C/man3/telldir.3:69
 #, no-wrap
 msgid "CONFORMING TO"
 msgstr "準拠"
 
 #. type: Plain text
-#: build/C/man3/closedir.3:64
+#: build/C/man3/closedir.3:69
 msgid "SVr4, POSIX.1-2001, 4.3BSD."
 msgstr "SVr4, POSIX.1-2001, 4.3BSD."
 
 #. type: SH
-#: build/C/man3/closedir.3:64 build/C/man3/dirfd.3:95
-#: build/C/man2/getdents.2:273 build/C/man3/getdirentries.3:72
-#: build/C/man3/opendir.3:138 build/C/man2/readdir.2:117
-#: build/C/man3/readdir.3:239 build/C/man3/rewinddir.3:51
-#: build/C/man3/scandir.3:172 build/C/man3/scandirat.3:113
-#: build/C/man3/seekdir.3:72 build/C/man3/telldir.3:72
+#: build/C/man3/closedir.3:69 build/C/man3/dirfd.3:104
+#: build/C/man2/getdents.2:282 build/C/man3/getdirentries.3:77
+#: build/C/man3/opendir.3:140 build/C/man2/readdir.2:127
+#: build/C/man3/readdir.3:265 build/C/man3/rewinddir.3:60
+#: build/C/man3/scandir.3:283 build/C/man3/seekdir.3:83
+#: build/C/man3/telldir.3:95
 #, no-wrap
 msgid "SEE ALSO"
 msgstr "関連項目"
 
 #. type: Plain text
-#: build/C/man3/closedir.3:71
+#: build/C/man3/closedir.3:77
 msgid ""
 "B<close>(2), B<opendir>(3), B<readdir>(3), B<rewinddir>(3), B<scandir>(3), "
 "B<seekdir>(3), B<telldir>(3)"
@@ -195,108 +195,136 @@ msgstr ""
 "B<close>(2), B<opendir>(3), B<readdir>(3), B<rewinddir>(3), B<scandir>(3), "
 "B<seekdir>(3), B<telldir>(3)"
 
+#. type: SH
+#: build/C/man3/closedir.3:77 build/C/man3/dirfd.3:113
+#: build/C/man2/getdents.2:285 build/C/man3/getdirentries.3:80
+#: build/C/man3/opendir.3:149 build/C/man2/readdir.2:130
+#: build/C/man3/readdir.3:277 build/C/man3/rewinddir.3:67
+#: build/C/man3/scandir.3:294 build/C/man3/seekdir.3:91
+#: build/C/man3/telldir.3:102
+#, no-wrap
+msgid "COLOPHON"
+msgstr "この文書について"
+
+#. type: Plain text
+#: build/C/man3/closedir.3:85 build/C/man3/dirfd.3:121
+#: build/C/man2/getdents.2:293 build/C/man3/getdirentries.3:88
+#: build/C/man3/opendir.3:157 build/C/man2/readdir.2:138
+#: build/C/man3/readdir.3:285 build/C/man3/rewinddir.3:75
+#: build/C/man3/scandir.3:302 build/C/man3/seekdir.3:99
+#: build/C/man3/telldir.3:110
+msgid ""
+"This page is part of release 3.79 of the Linux I<man-pages> project.  A "
+"description of the project, information about reporting bugs, and the latest "
+"version of this page, can be found at \\%http://www.kernel.org/doc/man-"
+"pages/."
+msgstr ""
+"この man ページは Linux I<man-pages> プロジェクトのリリース 3.79 の一部\n"
+"である。プロジェクトの説明とバグ報告に関する情報は\n"
+"http://www.kernel.org/doc/man-pages/ に書かれている。"
+
 #. type: TH
-#: build/C/man3/dirfd.3:23
+#: build/C/man3/dirfd.3:25
 #, no-wrap
 msgid "DIRFD"
 msgstr "DIRFD"
 
 #. type: TH
-#: build/C/man3/dirfd.3:23
+#: build/C/man3/dirfd.3:25
 #, no-wrap
-msgid "2010-09-26"
-msgstr "2010-09-26"
+msgid "2013-07-05"
+msgstr "2013-07-05"
 
 #. type: TH
-#: build/C/man3/dirfd.3:23 build/C/man2/getdents.2:27
-#: build/C/man2/readdir.2:28 build/C/man3/scandirat.3:26
+#: build/C/man3/dirfd.3:25 build/C/man2/getdents.2:30
+#: build/C/man2/readdir.2:30
 #, no-wrap
 msgid "Linux"
 msgstr "Linux"
 
 #. type: Plain text
-#: build/C/man3/dirfd.3:26
+#: build/C/man3/dirfd.3:28
 msgid "dirfd - get directory stream file descriptor"
-msgstr "dirfd - ディレクトリストリームのファイルディスクリプタを取得する"
+msgstr "dirfd - ã\83\87ã\82£ã\83¬ã\82¯ã\83\88ã\83ªã\82¹ã\83\88ã\83ªã\83¼ã\83 ã\81®ã\83\95ã\82¡ã\82¤ã\83«ã\83\87ã\82£ã\82¹ã\82¯ã\83ªã\83\97ã\82¿ã\83¼ã\82\92å\8f\96å¾\97ã\81\99ã\82\8b"
 
 #. type: Plain text
-#: build/C/man3/dirfd.3:28
+#: build/C/man3/dirfd.3:30
 msgid "B<#include E<lt>sys/types.hE<gt>>"
 msgstr "B<#include E<lt>sys/types.hE<gt>>"
 
 #. type: Plain text
-#: build/C/man3/dirfd.3:30 build/C/man3/getdirentries.3:32
+#: build/C/man3/dirfd.3:32 build/C/man3/getdirentries.3:32
 msgid "B<#include E<lt>dirent.hE<gt>>"
 msgstr "B<#include E<lt>dirent.hE<gt>>"
 
 #. type: Plain text
-#: build/C/man3/dirfd.3:32
+#: build/C/man3/dirfd.3:34
 msgid "B<int dirfd(DIR *>I<dirp>B<);>"
 msgstr "B<int dirfd(DIR *>I<dirp>B<);>"
 
 #. type: Plain text
-#: build/C/man3/dirfd.3:36 build/C/man3/getdirentries.3:39
-#: build/C/man3/opendir.3:46 build/C/man3/readdir.3:50
-#: build/C/man3/scandir.3:55 build/C/man3/seekdir.3:42
-#: build/C/man3/telldir.3:41
+#: build/C/man3/dirfd.3:38 build/C/man3/getdirentries.3:39
+#: build/C/man3/opendir.3:48 build/C/man3/readdir.3:52
+#: build/C/man3/scandir.3:96 build/C/man3/seekdir.3:45
+#: build/C/man3/telldir.3:43
 msgid ""
 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
 msgstr "glibc 向けの機能検査マクロの要件 (B<feature_test_macros>(7)  参照):"
 
 #. type: Plain text
-#: build/C/man3/dirfd.3:39
+#: build/C/man3/dirfd.3:41
 msgid "B<dirfd>():"
 msgstr "B<dirfd>():"
 
 #. type: Plain text
-#: build/C/man3/dirfd.3:44
+#: build/C/man3/dirfd.3:46 build/C/man3/scandir.3:105
 msgid "_BSD_SOURCE || _SVID_SOURCE"
 msgstr "_BSD_SOURCE || _SVID_SOURCE"
 
 #. type: Plain text
-#: build/C/man3/dirfd.3:46
+#: build/C/man3/dirfd.3:48 build/C/man3/scandir.3:107
 msgid "|| /* Since glibc 2.10: */"
 msgstr "|| /* glibc 2.10 以降: */"
 
 #. type: Plain text
-#: build/C/man3/dirfd.3:48
+#: build/C/man3/dirfd.3:50 build/C/man3/scandir.3:109
 msgid "(_POSIX_C_SOURCE\\ E<gt>=\\ 200809L || _XOPEN_SOURCE\\ E<gt>=\\ 700)"
 msgstr "(_POSIX_C_SOURCE\\ E<gt>=\\ 200809L || _XOPEN_SOURCE\\ E<gt>=\\ 700)"
 
 #. type: Plain text
-#: build/C/man3/dirfd.3:57
+#: build/C/man3/dirfd.3:59
 msgid ""
 "The function B<dirfd>()  returns the file descriptor associated with the "
 "directory stream I<dirp>."
 msgstr ""
 "関数 B<dirfd>()  はディレクトリストリーム I<dirp> に関連づけられたファイル"
-"ディスクリプタを返す。"
+"ã\83\87ã\82£ã\82¹ã\82¯ã\83ªã\83\97ã\82¿ã\83¼ã\82\92è¿\94ã\81\99ã\80\82"
 
 #. type: Plain text
-#: build/C/man3/dirfd.3:67
+#: build/C/man3/dirfd.3:69
 msgid ""
 "This descriptor is the one used internally by the directory stream.  As a "
-"result, it is only useful for functions which do not depend on or alter the "
+"result, it is useful only for functions which do not depend on or alter the "
 "file position, such as B<fstat>(2)  and B<fchdir>(2).  It will be "
 "automatically closed when B<closedir>(3)  is called."
 msgstr ""
-"このディスクリプタはディレクトリストリームが内部で使用するものである。 よっ"
+"ã\81\93ã\81®ã\83\87ã\82£ã\82¹ã\82¯ã\83ªã\83\97ã\82¿ã\83¼ã\81¯ã\83\87ã\82£ã\83¬ã\82¯ã\83\88ã\83ªã\82¹ã\83\88ã\83ªã\83¼ã\83 ã\81\8cå\86\85é\83¨ã\81§ä½¿ç\94¨ã\81\99ã\82\8bã\82\82ã\81®ã\81§ã\81\82ã\82\8bã\80\82 ã\82\88ã\81£"
 "て、ファイルの位置に依存せず、かつその位置を変更しない関数 B<fstat>(2)  や "
-"B<fchdir>(2)  ã\81ªã\81©ã\81§ã\81\97ã\81\8bå½¹ã\81«ç«\8bã\81\9fã\81ªã\81\84ã\80\82 ã\81\93ã\81®ã\83\87ã\82£ã\82¹ã\82¯ã\83ªã\83\97ã\82¿ã\81¯ B<closedir>(3)  "
-"が呼ばれたときに自動的にクローズされる。"
+"B<fchdir>(2)  ã\81ªã\81©ã\81§ã\81\97ã\81\8bå½¹ã\81«ç«\8bã\81\9fã\81ªã\81\84ã\80\82 ã\81\93ã\81®ã\83\87ã\82£ã\82¹ã\82¯ã\83ªã\83\97ã\82¿ã\83¼ã\81¯ "
+"B<closedir>(3)  が呼ばれたときに自動的にクローズされる。"
 
 #. type: Plain text
-#: build/C/man3/dirfd.3:70
+#: build/C/man3/dirfd.3:74
 msgid ""
 "On success, a nonnegative file descriptor is returned.  On error, -1 is "
-"returned."
+"returned, and I<errno> is set to indicate the cause of the error."
 msgstr ""
-"æ\88\90å\8a\9fã\81\99ã\82\8bã\81¨ã\80\81è² ã\81§ã\81ªã\81\84å\80¤ã\81®ã\83\95ã\82¡ã\82¤ã\83«ã\83\87ã\82£ã\82¹ã\82¯ã\83ªã\83\97ã\82¿ã\81\8cè¿\94ã\81\95ã\82\8cã\82\8bã\80\82 ã\82¨ã\83©ã\83¼ã\81®å ´å\90\88ã\81¯ -1 "
-"が返される。"
+"æ\88\90å\8a\9fã\81\99ã\82\8bã\81¨ã\80\81è² ã\81§ã\81ªã\81\84å\80¤ã\81®ã\83\95ã\82¡ã\82¤ã\83«ã\83\87ã\82£ã\82¹ã\82¯ã\83ªã\83\97ã\82¿ã\83¼ã\81\8cè¿\94ã\81\95ã\82\8cã\82\8bã\80\82 ã\82¨ã\83©ã\83¼ã\81®å ´å\90\88ã\81¯ "
+"-1 が返され、 I<errno> にエラーの原因を示す値が設定される。"
 
 #.  glibc 2.8
 #. type: Plain text
-#: build/C/man3/dirfd.3:75
+#: build/C/man3/dirfd.3:79
 msgid ""
 "POSIX.1-2008 specifies two errors, neither of which is returned by the "
 "current implementation."
@@ -305,35 +333,56 @@ msgstr ""
 "も返されない。"
 
 #. type: TP
-#: build/C/man3/dirfd.3:75 build/C/man2/getdents.2:150
-#: build/C/man2/readdir.2:100
+#: build/C/man3/dirfd.3:79 build/C/man2/getdents.2:156
+#: build/C/man2/readdir.2:105
 #, no-wrap
 msgid "B<EINVAL>"
 msgstr "B<EINVAL>"
 
 #. type: Plain text
-#: build/C/man3/dirfd.3:79
+#: build/C/man3/dirfd.3:83
 msgid "I<dirp> does not refer to a valid directory stream."
 msgstr "I<dirp> が有効なディレクトリストリームを参照していない。"
 
 #. type: TP
-#: build/C/man3/dirfd.3:79
+#: build/C/man3/dirfd.3:83
 #, no-wrap
 msgid "B<ENOTSUP>"
 msgstr "B<ENOTSUP>"
 
 #. type: Plain text
-#: build/C/man3/dirfd.3:83
+#: build/C/man3/dirfd.3:87
 msgid ""
 "The implementation does not support the association of a file descriptor "
 "with a directory."
 msgstr ""
-"この実装では、ファイルディスクリプタのディレクトリとの関連付けが サポートされ"
-"ていない。"
+"この実装では、ファイルディスクリプターのディレクトリとの関連付けが サポートさ"
+"れていない。"
+
+#. type: SH
+#: build/C/man3/dirfd.3:87 build/C/man3/getdirentries.3:64
+#: build/C/man3/readdir.3:147 build/C/man3/rewinddir.3:53
+#: build/C/man3/seekdir.3:64 build/C/man3/telldir.3:64
+#, no-wrap
+msgid "ATTRIBUTES"
+msgstr "属性"
+
+#. type: SS
+#: build/C/man3/dirfd.3:88 build/C/man3/getdirentries.3:65
+#: build/C/man3/readdir.3:148 build/C/man3/rewinddir.3:54
+#: build/C/man3/seekdir.3:65 build/C/man3/telldir.3:65
+#, no-wrap
+msgid "Multithreading (see pthreads(7))"
+msgstr "マルチスレッディング (pthreads(7) 参照)"
+
+#. type: Plain text
+#: build/C/man3/dirfd.3:92
+msgid "The B<dirfd>()  function is thread-safe."
+msgstr "B<dirfd>() 関数はスレッドセーフである。"
 
 #.  It is present in libc5 (since 5.1.2) and in glibc2.
 #. type: Plain text
-#: build/C/man3/dirfd.3:87
+#: build/C/man3/dirfd.3:96
 msgid ""
 "POSIX.1-2008.  This function was a BSD extension, present in 4.3BSD-Reno, "
 "not in 4.2BSD."
@@ -342,25 +391,25 @@ msgstr ""
 "4.2BSD には存在しない。"
 
 #. type: SH
-#: build/C/man3/dirfd.3:87 build/C/man2/getdents.2:162
-#: build/C/man3/opendir.3:121 build/C/man2/readdir.2:111
-#: build/C/man3/readdir.3:147 build/C/man3/scandirat.3:108
-#: build/C/man3/seekdir.3:64 build/C/man3/telldir.3:64
+#: build/C/man3/dirfd.3:96 build/C/man2/getdents.2:168
+#: build/C/man3/opendir.3:123 build/C/man2/readdir.2:116
+#: build/C/man3/readdir.3:158 build/C/man3/scandir.3:252
+#: build/C/man3/seekdir.3:71 build/C/man3/telldir.3:71
 #, no-wrap
 msgid "NOTES"
 msgstr "注意"
 
 #. type: Plain text
-#: build/C/man3/dirfd.3:95
+#: build/C/man3/dirfd.3:104
 msgid ""
-"The prototype for B<dirfd>()  is only available if B<_BSD_SOURCE> or "
+"The prototype for B<dirfd>()  is available only if B<_BSD_SOURCE> or "
 "B<_SVID_SOURCE> is defined."
 msgstr ""
 "B<dirfd>()  のプロトタイプが使用可能なのは、 B<_BSD_SOURCE> または "
 "B<_SVID_SOURCE> が定義されたときのみである。"
 
 #. type: Plain text
-#: build/C/man3/dirfd.3:103
+#: build/C/man3/dirfd.3:113
 msgid ""
 "B<open>(2), B<closedir>(3), B<opendir>(3), B<readdir>(3), B<rewinddir>(3), "
 "B<scandir>(3), B<seekdir>(3), B<telldir>(3)"
@@ -369,24 +418,24 @@ msgstr ""
 "B<scandir>(3), B<seekdir>(3), B<telldir>(3)"
 
 #. type: TH
-#: build/C/man2/getdents.2:27
+#: build/C/man2/getdents.2:30
 #, no-wrap
 msgid "GETDENTS"
 msgstr "GETDENTS"
 
 #. type: TH
-#: build/C/man2/getdents.2:27
+#: build/C/man2/getdents.2:30
 #, no-wrap
-msgid "2010-11-21"
-msgstr "2010-11-21"
+msgid "2012-08-03"
+msgstr "2012-08-03"
 
 #. type: Plain text
-#: build/C/man2/getdents.2:30
+#: build/C/man2/getdents.2:33
 msgid "getdents - get directory entries"
-msgstr "getdents - ã\83\87ã\82£ã\83¬ã\82¯ã\83\88ã\83ªã\83»ã\82¨ã\83³ã\83\88ã\83ªを取得する"
+msgstr "getdents - ã\83\87ã\82£ã\83¬ã\82¯ã\83\88ã\83ªã\82¨ã\83³ã\83\88ã\83ªã\83¼を取得する"
 
 #. type: Plain text
-#: build/C/man2/getdents.2:34
+#: build/C/man2/getdents.2:37
 #, no-wrap
 msgid ""
 "B<int getdents(unsigned int >I<fd>B<, struct linux_dirent *>I<dirp>B<,>\n"
@@ -396,7 +445,14 @@ msgstr ""
 "B<             unsigned int >I<count>B<);>\n"
 
 #. type: Plain text
-#: build/C/man2/getdents.2:41
+#: build/C/man2/getdents.2:41 build/C/man2/readdir.2:42
+msgid "I<Note>: There is no glibc wrapper for this system call; see NOTES."
+msgstr ""
+"I<注>: このシステムコールには glibc のラッパー関数は存在しない。「注意」の節"
+"を参照。"
+
+#. type: Plain text
+#: build/C/man2/getdents.2:47
 msgid ""
 "This is not the function you are interested in.  Look at B<readdir>(3)  for "
 "the POSIX conforming C library interface.  This page documents the bare "
@@ -407,25 +463,25 @@ msgstr ""
 "テムコールの生のインターフェースについて 記載したものである。"
 
 #. type: Plain text
-#: build/C/man2/getdents.2:54
+#: build/C/man2/getdents.2:60
 msgid ""
 "The system call B<getdents>()  reads several I<linux_dirent> structures from "
 "the directory referred to by the open file descriptor I<fd> into the buffer "
 "pointed to by I<dirp>.  The argument I<count> specifies the size of that "
 "buffer."
 msgstr ""
-"B<getdents>()  システムコールは、オープン済みのファイルディスクリプタ I<fd> "
-"で参照されるディレクトリから I<linux_dirent> 構造体をいくつか読み出し、 "
-"I<dirp> が指しているバッファに格納する。 I<count> 引き数はそのバッファのサイ"
-"ズを示す。"
+"B<getdents>()  システムコールは、オープン済みのファイルディスクリプタ "
+"I<fd> で参照されるディレクトリから I<linux_dirent> 構造体をいくつか読み出"
+"し、 I<dirp> が指しているバッファーに格納する。 I<count> 引き数はそのバッ"
+"ã\83\95ã\82¡ã\83¼ã\81®ã\82µã\82¤ã\82ºã\82\92示ã\81\99ã\80\82"
 
 #. type: Plain text
-#: build/C/man2/getdents.2:58
+#: build/C/man2/getdents.2:64
 msgid "The I<linux_dirent> structure is declared as follows:"
 msgstr "I<linux_dirent> 構造体は以下のように宣言されている:"
 
 #. type: Plain text
-#: build/C/man2/getdents.2:73
+#: build/C/man2/getdents.2:79
 #, no-wrap
 msgid ""
 "struct linux_dirent {\n"
@@ -433,12 +489,12 @@ msgid ""
 "    unsigned long  d_off;     /* Offset to next I<linux_dirent> */\n"
 "    unsigned short d_reclen;  /* Length of this I<linux_dirent> */\n"
 "    char           d_name[];  /* Filename (null-terminated) */\n"
-"                        /* length is actually (d_reclen - 2 -\n"
-"                           offsetof(struct linux_dirent, d_name) */\n"
+"                      /* length is actually (d_reclen - 2 -\n"
+"                         offsetof(struct linux_dirent, d_name)) */\n"
 "    /*\n"
 "    char           pad;       // Zero padding byte\n"
-"    char           d_type;    // File type (only since Linux 2.6.4;\n"
-"                              // offset is (d_reclen - 1))\n"
+"    char           d_type;    // File type (only since Linux\n"
+"                              // 2.6.4); offset is (d_reclen - 1)\n"
 "    */\n"
 msgstr ""
 "struct linux_dirent {\n"
@@ -446,22 +502,22 @@ msgstr ""
 "    unsigned long  d_off;     /* Offset to next I<linux_dirent> */\n"
 "    unsigned short d_reclen;  /* Length of this I<linux_dirent> */\n"
 "    char           d_name[];  /* Filename (null-terminated) */\n"
-"                        /* length is actually (d_reclen - 2 -\n"
-"                           offsetof(struct linux_dirent, d_name) */\n"
+"                      /* length is actually (d_reclen - 2 -\n"
+"                         offsetof(struct linux_dirent, d_name)) */\n"
 "    /*\n"
 "    char           pad;       // Zero padding byte\n"
-"    char           d_type;    // File type (only since Linux 2.6.4;\n"
-"                              // offset is (d_reclen - 1))\n"
+"    char           d_type;    // File type (only since Linux\n"
+"                              // 2.6.4); offset is (d_reclen - 1)\n"
 "    */\n"
 
 #. type: Plain text
-#: build/C/man2/getdents.2:75
+#: build/C/man2/getdents.2:81
 #, no-wrap
 msgid "}\n"
 msgstr "}\n"
 
 #. type: Plain text
-#: build/C/man2/getdents.2:88
+#: build/C/man2/getdents.2:94
 msgid ""
 "I<d_ino> is an inode number.  I<d_off> is the distance from the start of the "
 "directory to the start of the next I<linux_dirent>.  I<d_reclen> is the size "
@@ -469,10 +525,10 @@ msgid ""
 msgstr ""
 "I<d_ino> は inode 番号である。 I<d_off> はディレクトリの先頭から次の "
 "I<linux_dirent> の先頭までの距離である。 I<d_reclen> はこの I<linux_dirent> "
-"全体のサイズである。 I<d_name> はヌル(null)文字で終わるファイル名である。"
+"全体のサイズである。 I<d_name> はヌル文字で終わるファイル名である。"
 
 #. type: Plain text
-#: build/C/man2/getdents.2:93
+#: build/C/man2/getdents.2:99
 msgid ""
 "I<d_type> is a byte at the end of the structure that indicates the file "
 "type.  It contains one of the following values (defined in I<E<lt>dirent."
@@ -482,84 +538,84 @@ msgstr ""
 "以下の値の一つを取る (I<E<lt>dirent.hE<gt>> で定義されている)。"
 
 #. type: TP
-#: build/C/man2/getdents.2:93 build/C/man3/readdir.3:176
+#: build/C/man2/getdents.2:99 build/C/man3/readdir.3:200
 #, no-wrap
 msgid "B<DT_BLK>"
 msgstr "B<DT_BLK>"
 
 #. type: Plain text
-#: build/C/man2/getdents.2:96 build/C/man3/readdir.3:179
+#: build/C/man2/getdents.2:102 build/C/man3/readdir.3:203
 msgid "This is a block device."
 msgstr "ブロックデバイスである。"
 
 #. type: TP
-#: build/C/man2/getdents.2:96 build/C/man3/readdir.3:179
+#: build/C/man2/getdents.2:102 build/C/man3/readdir.3:203
 #, no-wrap
 msgid "B<DT_CHR>"
 msgstr "B<DT_CHR>"
 
 #. type: Plain text
-#: build/C/man2/getdents.2:99 build/C/man3/readdir.3:182
+#: build/C/man2/getdents.2:105 build/C/man3/readdir.3:206
 msgid "This is a character device."
-msgstr "キャラクタデバイスである。"
+msgstr "ã\82­ã\83£ã\83©ã\82¯ã\82¿ã\83¼ã\83\87ã\83\90ã\82¤ã\82¹ã\81§ã\81\82ã\82\8bã\80\82"
 
 #. type: TP
-#: build/C/man2/getdents.2:99 build/C/man3/readdir.3:182
+#: build/C/man2/getdents.2:105 build/C/man3/readdir.3:206
 #, no-wrap
 msgid "B<DT_DIR>"
 msgstr "B<DT_DIR>"
 
 #. type: Plain text
-#: build/C/man2/getdents.2:102 build/C/man3/readdir.3:185
+#: build/C/man2/getdents.2:108 build/C/man3/readdir.3:209
 msgid "This is a directory."
 msgstr "ディレクトリである。"
 
 #. type: TP
-#: build/C/man2/getdents.2:102 build/C/man3/readdir.3:185
+#: build/C/man2/getdents.2:108 build/C/man3/readdir.3:209
 #, no-wrap
 msgid "B<DT_FIFO>"
 msgstr "B<DT_FIFO>"
 
 #. type: Plain text
-#: build/C/man2/getdents.2:105 build/C/man3/readdir.3:188
+#: build/C/man2/getdents.2:111 build/C/man3/readdir.3:212
 msgid "This is a named pipe (FIFO)."
 msgstr "名前付きパイプ (FIFO) である。"
 
 #. type: TP
-#: build/C/man2/getdents.2:105 build/C/man3/readdir.3:188
+#: build/C/man2/getdents.2:111 build/C/man3/readdir.3:212
 #, no-wrap
 msgid "B<DT_LNK>"
 msgstr "B<DT_LNK>"
 
 #. type: Plain text
-#: build/C/man2/getdents.2:108 build/C/man3/readdir.3:191
+#: build/C/man2/getdents.2:114 build/C/man3/readdir.3:215
 msgid "This is a symbolic link."
 msgstr "シンボリックリンクである。"
 
 #. type: TP
-#: build/C/man2/getdents.2:108 build/C/man3/readdir.3:191
+#: build/C/man2/getdents.2:114 build/C/man3/readdir.3:215
 #, no-wrap
 msgid "B<DT_REG>"
 msgstr "B<DT_REG>"
 
 #. type: Plain text
-#: build/C/man2/getdents.2:111 build/C/man3/readdir.3:194
+#: build/C/man2/getdents.2:117 build/C/man3/readdir.3:218
 msgid "This is a regular file."
 msgstr "通常のファイルである。"
 
 #. type: TP
-#: build/C/man2/getdents.2:111 build/C/man3/readdir.3:194
+#: build/C/man2/getdents.2:117 build/C/man3/readdir.3:218
 #, no-wrap
 msgid "B<DT_SOCK>"
 msgstr "B<DT_SOCK>"
 
 #. type: Plain text
-#: build/C/man2/getdents.2:114 build/C/man3/readdir.3:197
+#: build/C/man2/getdents.2:120 build/C/man3/readdir.3:221
 msgid "This is a UNIX domain socket."
 msgstr "UNIX ドメインソケットである。"
 
 #. type: TP
-#: build/C/man2/getdents.2:114 build/C/man3/readdir.3:197
+#: build/C/man2/getdents.2:120 build/C/man3/readdir.3:221
 #, no-wrap
 msgid "B<DT_UNKNOWN>"
 msgstr "B<DT_UNKNOWN>"
@@ -567,12 +623,12 @@ msgstr "B<DT_UNKNOWN>"
 #.  The glibc manual says that on some systems this is the only
 #.  value returned
 #. type: Plain text
-#: build/C/man2/getdents.2:117 build/C/man3/readdir.3:202
+#: build/C/man2/getdents.2:123 build/C/man3/readdir.3:226
 msgid "The file type is unknown."
 msgstr "ファイルタイプが不明である。"
 
 #. type: Plain text
-#: build/C/man2/getdents.2:127
+#: build/C/man2/getdents.2:133
 msgid ""
 "The I<d_type> field is implemented since Linux 2.6.4.  It occupies a space "
 "that was previously a zero-filled padding byte in the I<linux_dirent> "
@@ -587,9 +643,9 @@ msgstr ""
 #.  kernel 2.6.27
 #.  The same sentence is in getdents.2
 #. type: Plain text
-#: build/C/man2/getdents.2:136 build/C/man3/readdir.3:216
+#: build/C/man2/getdents.2:142 build/C/man3/readdir.3:240
 msgid ""
-"Currently, only some file systems (among them: Btrfs, ext2, ext3, and ext4)  "
+"Currently, only some filesystems (among them: Btrfs, ext2, ext3, and ext4)  "
 "have full support for returning the file type in I<d_type>.  All "
 "applications must properly handle a return of B<DT_UNKNOWN>."
 msgstr ""
@@ -599,7 +655,7 @@ msgstr ""
 "切に処理できなければならない。"
 
 #. type: Plain text
-#: build/C/man2/getdents.2:142
+#: build/C/man2/getdents.2:148
 msgid ""
 "On success, the number of bytes read is returned.  On end of directory, 0 is "
 "returned.  On error, -1 is returned, and I<errno> is set appropriately."
@@ -608,92 +664,98 @@ msgstr ""
 "が返される。 エラーの場合は -1 を返され、 I<errno> に適切な値が設定される。"
 
 #. type: Plain text
-#: build/C/man2/getdents.2:147 build/C/man2/readdir.2:97
+#: build/C/man2/getdents.2:153 build/C/man2/readdir.2:102
 msgid "Invalid file descriptor I<fd>."
-msgstr "ファイルディスクリプタ I<fd> が不正である。"
+msgstr "ファイルディスクリプタ I<fd> が不正である。"
 
 #. type: TP
-#: build/C/man2/getdents.2:147 build/C/man2/readdir.2:97
+#: build/C/man2/getdents.2:153 build/C/man2/readdir.2:102
 #, no-wrap
 msgid "B<EFAULT>"
 msgstr "B<EFAULT>"
 
 #. type: Plain text
-#: build/C/man2/getdents.2:150 build/C/man2/readdir.2:100
+#: build/C/man2/getdents.2:156 build/C/man2/readdir.2:105
 msgid "Argument points outside the calling process's address space."
 msgstr "引き数が呼び出したプロセスのアドレス空間外を指している。"
 
 #. type: Plain text
-#: build/C/man2/getdents.2:153 build/C/man2/readdir.2:103
+#: build/C/man2/getdents.2:159 build/C/man2/readdir.2:108
 msgid "Result buffer is too small."
 msgstr "結果用のバッファーが小さすぎる。"
 
 #. type: TP
-#: build/C/man2/getdents.2:153 build/C/man3/opendir.3:104
-#: build/C/man2/readdir.2:103 build/C/man3/scandir.3:104
+#: build/C/man2/getdents.2:159 build/C/man3/opendir.3:106
+#: build/C/man2/readdir.2:108 build/C/man3/scandir.3:201
 #, no-wrap
 msgid "B<ENOENT>"
 msgstr "B<ENOENT>"
 
 #. type: Plain text
-#: build/C/man2/getdents.2:156 build/C/man2/readdir.2:106
+#: build/C/man2/getdents.2:162 build/C/man2/readdir.2:111
 msgid "No such directory."
 msgstr "そのようなディレクトリは存在しない。"
 
 #. type: TP
-#: build/C/man2/getdents.2:156 build/C/man3/opendir.3:110
-#: build/C/man2/readdir.2:106 build/C/man3/scandir.3:110
-#: build/C/man3/scandirat.3:97
+#: build/C/man2/getdents.2:162 build/C/man3/opendir.3:112
+#: build/C/man2/readdir.2:111 build/C/man3/scandir.3:207
+#: build/C/man3/scandir.3:217
 #, no-wrap
 msgid "B<ENOTDIR>"
 msgstr "B<ENOTDIR>"
 
 #. type: Plain text
-#: build/C/man2/getdents.2:159 build/C/man2/readdir.2:109
+#: build/C/man2/getdents.2:165 build/C/man2/readdir.2:114
 msgid "File descriptor does not refer to a directory."
-msgstr "ファイルディスクリプタがディレクトリを参照していない。"
+msgstr "ã\83\95ã\82¡ã\82¤ã\83«ã\83\87ã\82£ã\82¹ã\82¯ã\83ªã\83\97ã\82¿ã\83¼ã\81\8cã\83\87ã\82£ã\83¬ã\82¯ã\83\88ã\83ªã\82\92å\8f\82ç\85§ã\81\97ã\81¦ã\81\84ã\81ªã\81\84ã\80\82"
 
 #.  SVr4 documents additional ENOLINK, EIO error conditions.
 #. type: Plain text
-#: build/C/man2/getdents.2:162
+#: build/C/man2/getdents.2:168
 msgid "SVr4."
 msgstr "SVr4."
 
 #. type: Plain text
-#: build/C/man2/getdents.2:168
+#: build/C/man2/getdents.2:177
 msgid ""
 "Glibc does not provide a wrapper for this system call; call it using "
 "B<syscall>(2).  You will need to define the I<linux_dirent> structure "
-"yourself."
+"yourself.  However, you probably want to use B<readdir>(3)  instead."
 msgstr ""
 "glibc はこのシステムコールに対するラッパー関数を提供していないので、 "
 "B<syscall>(2)  を使って呼び出すこと。 I<linux_dirent> 構造体は自分で定義する"
-"必要がある。"
+"必要がある。しかし、たいていはこのシステムコールではなく B<readdir>(3) を使う"
+"べき場面のことが多い。"
 
 #. type: Plain text
-#: build/C/man2/getdents.2:171
+#: build/C/man2/getdents.2:180
 msgid "This call supersedes B<readdir>(2)."
 msgstr "このシステムコールは B<readdir>(2)  を置き換えるものである。"
 
 #. type: Plain text
-#: build/C/man2/getdents.2:184
+#: build/C/man2/getdents.2:193
 msgid ""
-"The original Linux B<getdents>()  system call did not handle large file "
-"systems and large file offsets.  Consequently, Linux 2.4 added B<getdents64>"
-"(), with wider types for the I<d_ino> and I<d_off> fields employed in the "
-"I<linux_dirent> structure."
+"The original Linux B<getdents>()  system call did not handle large "
+"filesystems and large file offsets.  Consequently, Linux 2.4 added "
+"B<getdents64>(), with wider types for the I<d_ino> and I<d_off> fields "
+"employed in the I<linux_dirent> structure."
 msgstr ""
+"元々の Linux の B<getdents>() システムコールは、大きなファイルシステムと\n"
+"大きなファイルオフセットを扱うことができなかった。\n"
+"その結果、Linux 2.4 で B<getdents64>() が追加された。\n"
+"B<getdents64>() では、I<linux_dirent> 構造体のフィールド I<d_ino> と\n"
+"I<d_off> でビット幅の大きなデータ型が使われている。"
 
 #. type: SH
-#: build/C/man2/getdents.2:184 build/C/man3/scandir.3:148
+#: build/C/man2/getdents.2:193 build/C/man3/scandir.3:259
 #, no-wrap
 msgid "EXAMPLE"
 msgstr "例"
 
-#.  FIXME: This program uses the older getdents(0 system call
-#.  and the structure with smaller field widths.
+#.  FIXME The example program needs to be revised, since it uses the older
+#.  getdents() system call and the structure with smaller field widths.
 #. type: Plain text
-#: build/C/man2/getdents.2:191
+#: build/C/man2/getdents.2:200
 msgid ""
 "The program below demonstrates the use of B<getdents>().  The following "
 "output shows an example of what we see when running this program on an ext2 "
@@ -703,12 +765,12 @@ msgstr ""
 "ログラムを ext2 ディレクトリで実行した際に得られる 出力の例である。"
 
 #. type: Plain text
-#: build/C/man2/getdents.2:204
+#: build/C/man2/getdents.2:213
 #, no-wrap
 msgid ""
 "$B< ./a.out /testfs/>\n"
 "--------------- nread=120 ---------------\n"
-"i-node#  file type  d_reclen  d_off   d_name\n"
+"inode#    file type  d_reclen  d_off   d_name\n"
 "       2  directory    16         12  .\n"
 "       2  directory    16         24  ..\n"
 "      11  directory    24         44  lost+found\n"
@@ -719,7 +781,7 @@ msgid ""
 msgstr ""
 "$B< ./a.out /testfs/>\n"
 "--------------- nread=120 ---------------\n"
-"i-node#  file type  d_reclen  d_off   d_name\n"
+"inode#    file type  d_reclen  d_off   d_name\n"
 "       2  directory    16         12  .\n"
 "       2  directory    16         24  ..\n"
 "      11  directory    24         44  lost+found\n"
@@ -729,13 +791,13 @@ msgstr ""
 "  130817  directory    16       4096  sub3\n"
 
 #. type: SS
-#: build/C/man2/getdents.2:206
+#: build/C/man2/getdents.2:215
 #, no-wrap
 msgid "Program source"
 msgstr "プログラムのソース"
 
 #. type: Plain text
-#: build/C/man2/getdents.2:217
+#: build/C/man2/getdents.2:226
 #, no-wrap
 msgid ""
 "#define _GNU_SOURCE\n"
@@ -757,7 +819,7 @@ msgstr ""
 "#include E<lt>sys/syscall.hE<gt>\n"
 
 #. type: Plain text
-#: build/C/man2/getdents.2:220
+#: build/C/man2/getdents.2:229
 #, no-wrap
 msgid ""
 "#define handle_error(msg) \\e\n"
@@ -767,7 +829,7 @@ msgstr ""
 "        do { perror(msg); exit(EXIT_FAILURE); } while (0)\n"
 
 #. type: Plain text
-#: build/C/man2/getdents.2:227
+#: build/C/man2/getdents.2:236
 #, no-wrap
 msgid ""
 "struct linux_dirent {\n"
@@ -785,13 +847,13 @@ msgstr ""
 "};\n"
 
 #. type: Plain text
-#: build/C/man2/getdents.2:229
+#: build/C/man2/getdents.2:238
 #, no-wrap
 msgid "#define BUF_SIZE 1024\n"
 msgstr "#define BUF_SIZE 1024\n"
 
 #. type: Plain text
-#: build/C/man2/getdents.2:238
+#: build/C/man2/getdents.2:247
 #, no-wrap
 msgid ""
 "int\n"
@@ -813,7 +875,7 @@ msgstr ""
 "    char d_type;\n"
 
 #. type: Plain text
-#: build/C/man2/getdents.2:242
+#: build/C/man2/getdents.2:251
 #, no-wrap
 msgid ""
 "    fd = open(argc E<gt> 1 ? argv[1] : \".\", O_RDONLY | O_DIRECTORY);\n"
@@ -825,7 +887,7 @@ msgstr ""
 "        handle_error(\"open\");\n"
 
 #. type: Plain text
-#: build/C/man2/getdents.2:247
+#: build/C/man2/getdents.2:256
 #, no-wrap
 msgid ""
 "    for ( ; ; ) {\n"
@@ -839,7 +901,7 @@ msgstr ""
 "            handle_error(\"getdents\");\n"
 
 #. type: Plain text
-#: build/C/man2/getdents.2:250
+#: build/C/man2/getdents.2:259
 #, no-wrap
 msgid ""
 "        if (nread == 0)\n"
@@ -849,11 +911,11 @@ msgstr ""
 "            break;\n"
 
 #. type: Plain text
-#: build/C/man2/getdents.2:269
+#: build/C/man2/getdents.2:278
 #, no-wrap
 msgid ""
 "        printf(\"--------------- nread=%d ---------------\\en\", nread);\n"
-"        printf(\"i-node#  file type  d_reclen  d_off   d_name\\en\");\n"
+"        printf(\"inode#    file type  d_reclen  d_off   d_name\\en\");\n"
 "        for (bpos = 0; bpos E<lt> nread;) {\n"
 "            d = (struct linux_dirent *) (buf + bpos);\n"
 "            printf(\"%8ld  \", d-E<gt>d_ino);\n"
@@ -866,13 +928,13 @@ msgid ""
 "                             (d_type == DT_BLK) ?  \"block dev\" :\n"
 "                             (d_type == DT_CHR) ?  \"char dev\" : \"???\");\n"
 "            printf(\"%4d %10lld  %s\\en\", d-E<gt>d_reclen,\n"
-"                    (long long) d-E<gt>d_off, (char *) d-E<gt>d_name);\n"
+"                    (long long) d-E<gt>d_off, d-E<gt>d_name);\n"
 "            bpos += d-E<gt>d_reclen;\n"
 "        }\n"
 "    }\n"
 msgstr ""
 "        printf(\"--------------- nread=%d ---------------\\en\", nread);\n"
-"        printf(\"i-node#  file type  d_reclen  d_off   d_name\\en\");\n"
+"        printf(\"inode#    file type  d_reclen  d_off   d_name\\en\");\n"
 "        for (bpos = 0; bpos E<lt> nread;) {\n"
 "            d = (struct linux_dirent *) (buf + bpos);\n"
 "            printf(\"%8ld  \", d-E<gt>d_ino);\n"
@@ -885,13 +947,13 @@ msgstr ""
 "                             (d_type == DT_BLK) ?  \"block dev\" :\n"
 "                             (d_type == DT_CHR) ?  \"char dev\" : \"???\");\n"
 "            printf(\"%4d %10lld  %s\\en\", d-E<gt>d_reclen,\n"
-"                    (long long) d-E<gt>d_off, (char *) d-E<gt>d_name);\n"
+"                    (long long) d-E<gt>d_off, d-E<gt>d_name);\n"
 "            bpos += d-E<gt>d_reclen;\n"
 "        }\n"
 "    }\n"
 
 #. type: Plain text
-#: build/C/man2/getdents.2:272
+#: build/C/man2/getdents.2:281
 #, no-wrap
 msgid ""
 "    exit(EXIT_SUCCESS);\n"
@@ -901,7 +963,7 @@ msgstr ""
 "}\n"
 
 #. type: Plain text
-#: build/C/man2/getdents.2:275
+#: build/C/man2/getdents.2:285
 msgid "B<readdir>(2), B<readdir>(3)"
 msgstr "B<readdir>(2), B<readdir>(3)"
 
@@ -914,12 +976,12 @@ msgstr "GETDIRENTRIES"
 #. type: TH
 #: build/C/man3/getdirentries.3:27
 #, no-wrap
-msgid "2007-07-26"
-msgstr "2007-07-26"
+msgid "2014-06-13"
+msgstr "2014-06-13"
 
 #. type: TH
-#: build/C/man3/getdirentries.3:27 build/C/man3/opendir.3:30
-#: build/C/man3/scandir.3:34
+#: build/C/man3/getdirentries.3:27 build/C/man3/opendir.3:32
+#: build/C/man3/scandir.3:62
 #, no-wrap
 msgid "GNU"
 msgstr "GNU"
@@ -927,10 +989,10 @@ msgstr "GNU"
 #. type: Plain text
 #: build/C/man3/getdirentries.3:30
 msgid ""
-"getdirentries - get directory entries in a file system-independent format"
+"getdirentries - get directory entries in a filesystem-independent format"
 msgstr ""
-"getdirentries - ã\83\87ã\82£ã\83¬ã\82¯ã\83\88ã\83ªã\81®ã\82¨ã\83³ã\83\88ã\83ªã\82\92ã\83\95ã\82¡ã\82¤ã\83«ã\82·ã\82¹ã\83\86ã\83 ã\81«ä¾\9då­\98ã\81\97ã\81ªã\81\84å½¢å¼\8fã\81§å\8f\96"
-"得する"
+"getdirentries - ã\83\87ã\82£ã\83¬ã\82¯ã\83\88ã\83ªã\81®ã\82¨ã\83³ã\83\88ã\83ªã\83¼ã\82\92ã\83\95ã\82¡ã\82¤ã\83«ã\82·ã\82¹ã\83\86ã\83 ã\81«ä¾\9då­\98ã\81\97ã\81ªã\81\84å½¢å¼\8fã\81§"
+"å\8f\96å¾\97ã\81\99ã\82\8b"
 
 #. type: Plain text
 #: build/C/man3/getdirentries.3:35
@@ -953,9 +1015,9 @@ msgid ""
 "At most I<nbytes> are read.  Reading starts at offset I<*basep>, and "
 "I<*basep> is updated with the new position after reading."
 msgstr ""
-"I<fd> ã\81§æ\8c\87å®\9aã\81\95ã\82\8cã\81\9fã\83\87ã\82£ã\83¬ã\82¯ã\83\88ã\83ªã\81\8bã\82\89ã\82¨ã\83³ã\83\88ã\83ªã\82\92読ã\81¿ã\80\81 I<buf> ã\81«æ ¼ç´\8dã\81\99ã\82\8bã\80\82æ\9c\80大ã\81§ "
-"I<nbytes> が読み込まれる。読み込みはオフセット I<*basep> から開始され、読み込"
-"み終了時には I<*basep> は新しい位置に更新される。"
+"I<fd> ã\81§æ\8c\87å®\9aã\81\95ã\82\8cã\81\9fã\83\87ã\82£ã\83¬ã\82¯ã\83\88ã\83ªã\81\8bã\82\89ã\82¨ã\83³ã\83\88ã\83ªã\83¼ã\82\92読ã\81¿ã\80\81 I<buf> ã\81«æ ¼ç´\8dã\81\99ã\82\8bã\80\82æ\9c\80大"
+"で I<nbytes> が読み込まれる。読み込みはオフセット I<*basep> から開始され、読"
+"み込み終了時には I<*basep> は新しい位置に更新される。"
 
 #. type: Plain text
 #: build/C/man3/getdirentries.3:62
@@ -974,7 +1036,12 @@ msgid "See the Linux library source code for details."
 msgstr "詳細は Linux のライブラリソースコードを読んでほしい。"
 
 #. type: Plain text
-#: build/C/man3/getdirentries.3:72
+#: build/C/man3/getdirentries.3:69
+msgid "The B<getdirentries>()  function is thread-safe."
+msgstr "B<getdirentries>() 関数はスレッドセーフである。"
+
+#. type: Plain text
+#: build/C/man3/getdirentries.3:77
 msgid ""
 "Not in POSIX.1-2001.  Present on the BSDs, and a few other systems.  Use "
 "B<opendir>(3)  and B<readdir>(3)  instead."
@@ -983,29 +1050,29 @@ msgstr ""
 "りに B<opendir>(3)  と B<readdir>(3)  を使用すること。"
 
 #. type: Plain text
-#: build/C/man3/getdirentries.3:74
+#: build/C/man3/getdirentries.3:80
 msgid "B<lseek>(2), B<open>(2)"
 msgstr "B<lseek>(2), B<open>(2)"
 
 #. type: TH
-#: build/C/man3/opendir.3:30
+#: build/C/man3/opendir.3:32
 #, no-wrap
 msgid "OPENDIR"
 msgstr "OPENDIR"
 
 #. type: TH
-#: build/C/man3/opendir.3:30
+#: build/C/man3/opendir.3:32
 #, no-wrap
 msgid "2010-06-20"
 msgstr "2010-06-20"
 
 #. type: Plain text
-#: build/C/man3/opendir.3:33
+#: build/C/man3/opendir.3:35
 msgid "opendir, fdopendir - open a directory"
 msgstr "opendir, fdopendir - ディレクトリをオープンする"
 
 #. type: Plain text
-#: build/C/man3/opendir.3:41
+#: build/C/man3/opendir.3:43
 #, no-wrap
 msgid ""
 "B<DIR *opendir(const char *>I<name>B<);>\n"
@@ -1015,45 +1082,45 @@ msgstr ""
 "B<DIR *fdopendir(int >I<fd>B<);>\n"
 
 #. type: Plain text
-#: build/C/man3/opendir.3:49
+#: build/C/man3/opendir.3:51
 msgid "B<fdopendir>():"
 msgstr "B<fdopendir>():"
 
 #. type: TP
-#: build/C/man3/opendir.3:52
+#: build/C/man3/opendir.3:54
 #, no-wrap
 msgid "Since glibc 2.10:"
 msgstr "glibc 2.10 以降:"
 
 #. type: Plain text
-#: build/C/man3/opendir.3:55
+#: build/C/man3/opendir.3:57
 msgid "_XOPEN_SOURCE\\ E<gt>=\\ 700 || _POSIX_C_SOURCE\\ E<gt>=\\ 200809L"
 msgstr "_XOPEN_SOURCE\\ E<gt>=\\ 700 || _POSIX_C_SOURCE\\ E<gt>=\\ 200809L"
 
 #. type: TP
-#: build/C/man3/opendir.3:55
+#: build/C/man3/opendir.3:57
 #, no-wrap
 msgid "Before glibc 2.10:"
 msgstr "glibc 2.10 より前:"
 
 #. type: Plain text
-#: build/C/man3/opendir.3:58
+#: build/C/man3/opendir.3:60
 msgid "_GNU_SOURCE"
 msgstr "_GNU_SOURCE"
 
 #. type: Plain text
-#: build/C/man3/opendir.3:67
+#: build/C/man3/opendir.3:69
 msgid ""
 "The B<opendir>()  function opens a directory stream corresponding to the "
 "directory I<name>, and returns a pointer to the directory stream.  The "
 "stream is positioned at the first entry in the directory."
 msgstr ""
 "B<opendir>()  関数はディレクトリ I<name> に対応する ディレクトリストリームを"
-"ã\82ªã\83¼ã\83\97ã\83³ã\81\97ã\80\81ã\81\9dã\81®ã\82¹ã\83\88ã\83ªã\83¼ã\83 ã\81¸ã\81®ã\83\9dã\82¤ã\83³ã\82¿ã\82\92è¿\94ã\81\99ã\80\82 ã\82¹ã\83\88ã\83ªã\83¼ã\83 ã\81®ä½\8dç½®ã\81¯ã\83\87ã\82£ã\83¬ã\82¯ã\83\88ã\83ª"
-"ã\81®å\85\88é ­ã\81®ã\82¨ã\83³ã\83\88ã\83ªに設定される。"
+"ã\82ªã\83¼ã\83\97ã\83³ã\81\97ã\80\81ã\81\9dã\81®ã\82¹ã\83\88ã\83ªã\83¼ã\83 ã\81¸ã\81®ã\83\9dã\82¤ã\83³ã\82¿ã\83¼ã\82\92è¿\94ã\81\99ã\80\82 ã\82¹ã\83\88ã\83ªã\83¼ã\83 ã\81®ä½\8dç½®ã\81¯ã\83\87ã\82£ã\83¬ã\82¯ã\83\88"
+"ã\83ªã\81®å\85\88é ­ã\81®ã\82¨ã\83³ã\83\88ã\83ªã\83¼に設定される。"
 
 #. type: Plain text
-#: build/C/man3/opendir.3:81
+#: build/C/man3/opendir.3:83
 msgid ""
 "The B<fdopendir>()  function is like B<opendir>(), but returns a directory "
 "stream for the directory referred to by the open file descriptor I<fd>.  "
@@ -1061,94 +1128,93 @@ msgid ""
 "implementation, and should not otherwise be used by the application."
 msgstr ""
 "B<fdopendir>()  関数は B<opendir>()  と同様だが、オープン済みのファイルディス"
-"クリプタ I<fd> により参照されるディレクトリに対する ディレクトリストリームを"
-"返す。 B<fdopendir>()  の呼び出しが成功した後は、 I<fd> は実装の内部で使用さ"
-"れる。アプリケーションは I<fd> を他の場面で使用すべきではない。"
+"クリプター I<fd> により参照されるディレクトリに対する ディレクトリストリーム"
+"を返す。 B<fdopendir>()  の呼び出しが成功した後は、 I<fd> は実装の内部で使用"
+"ã\81\95ã\82\8cã\82\8bã\80\82ã\82¢ã\83\97ã\83ªã\82±ã\83¼ã\82·ã\83§ã\83³ã\81¯ I<fd> ã\82\92ä»\96ã\81®å ´é\9d¢ã\81§ä½¿ç\94¨ã\81\99ã\81¹ã\81\8dã\81§ã\81¯ã\81ªã\81\84ã\80\82"
 
 #. type: Plain text
-#: build/C/man3/opendir.3:90
+#: build/C/man3/opendir.3:92
 msgid ""
 "The B<opendir>()  and B<fdopendir>()  functions return a pointer to the "
 "directory stream.  On error, NULL is returned, and I<errno> is set "
 "appropriately."
 msgstr ""
-"é\96¢æ\95° B<opendir>()  ã\81¨ B<fdopendir>()  ã\81¯ã\83\87ã\82£ã\83¬ã\82¯ã\83\88ã\83ªã\82¹ã\83\88ã\83ªã\83¼ã\83 ã\81¸ã\81®ã\83\9dã\82¤ã\83³ã\82¿ã\82\92"
-"返す。 エラーの場合は、NULL が返されて、 I<errno> が適切に設定される。"
+"é\96¢æ\95° B<opendir>()  ã\81¨ B<fdopendir>()  ã\81¯ã\83\87ã\82£ã\83¬ã\82¯ã\83\88ã\83ªã\82¹ã\83\88ã\83ªã\83¼ã\83 ã\81¸ã\81®ã\83\9dã\82¤ã\83³ã\82¿ã\83¼"
+"返す。 エラーの場合は、NULL が返されて、 I<errno> が適切に設定される。"
 
 #. type: TP
-#: build/C/man3/opendir.3:91
+#: build/C/man3/opendir.3:93
 #, no-wrap
 msgid "B<EACCES>"
 msgstr "B<EACCES>"
 
 #. type: Plain text
-#: build/C/man3/opendir.3:94
+#: build/C/man3/opendir.3:96
 msgid "Permission denied."
 msgstr "アクセス権限がない。"
 
 #. type: Plain text
-#: build/C/man3/opendir.3:98
+#: build/C/man3/opendir.3:100
 msgid "I<fd> is not a valid file descriptor opened for reading."
 msgstr ""
-"I<fd> が読み出し用にオープンされた、有効なファイルディスクリプタではない。"
+"I<fd> ã\81\8c読ã\81¿å\87ºã\81\97ç\94¨ã\81«ã\82ªã\83¼ã\83\97ã\83³ã\81\95ã\82\8cã\81\9fã\80\81æ\9c\89å\8a¹ã\81ªã\83\95ã\82¡ã\82¤ã\83«ã\83\87ã\82£ã\82¹ã\82¯ã\83ªã\83\97ã\82¿ã\83¼ã\81§ã\81¯ã\81ªã\81\84ã\80\82"
 
 #. type: TP
-#: build/C/man3/opendir.3:98
+#: build/C/man3/opendir.3:100
 #, no-wrap
 msgid "B<EMFILE>"
 msgstr "B<EMFILE>"
 
 #. type: Plain text
-#: build/C/man3/opendir.3:101
+#: build/C/man3/opendir.3:103
 msgid "Too many file descriptors in use by process."
-msgstr "プロセスが使用中のファイルディスクリプタが多すぎる。"
+msgstr "ã\83\97ã\83­ã\82»ã\82¹ã\81\8c使ç\94¨ä¸­ã\81®ã\83\95ã\82¡ã\82¤ã\83«ã\83\87ã\82£ã\82¹ã\82¯ã\83ªã\83\97ã\82¿ã\83¼ã\81\8cå¤\9aã\81\99ã\81\8eã\82\8bã\80\82"
 
 #. type: TP
-#: build/C/man3/opendir.3:101
+#: build/C/man3/opendir.3:103
 #, no-wrap
 msgid "B<ENFILE>"
 msgstr "B<ENFILE>"
 
 #. type: Plain text
-#: build/C/man3/opendir.3:104
+#: build/C/man3/opendir.3:106
 msgid "Too many files are currently open in the system."
 msgstr "システムでオープンされているファイルが多すぎる。"
 
 #. type: Plain text
-#: build/C/man3/opendir.3:107
+#: build/C/man3/opendir.3:109
 msgid "Directory does not exist, or I<name> is an empty string."
 msgstr "ディレクトリが存在しないか、または I<name> が空文字列である。"
 
 #. type: TP
-#: build/C/man3/opendir.3:107 build/C/man3/scandir.3:107
+#: build/C/man3/opendir.3:109 build/C/man3/scandir.3:204
 #, no-wrap
 msgid "B<ENOMEM>"
 msgstr "B<ENOMEM>"
 
 #. type: Plain text
-#: build/C/man3/opendir.3:110 build/C/man3/scandir.3:110
+#: build/C/man3/opendir.3:112 build/C/man3/scandir.3:207
 msgid "Insufficient memory to complete the operation."
-msgstr "操作を完了するのに十分なメモリがない。"
+msgstr "æ\93\8dä½\9cã\82\92å®\8cäº\86ã\81\99ã\82\8bã\81®ã\81«å\8d\81å\88\86ã\81ªã\83¡ã\83¢ã\83ªã\83¼ã\81\8cã\81ªã\81\84ã\80\82"
 
 #. type: Plain text
-#: build/C/man3/opendir.3:113
+#: build/C/man3/opendir.3:115
 msgid "I<name> is not a directory."
 msgstr "I<name> はディレクトリではない。"
 
 #. type: SH
-#: build/C/man3/opendir.3:113 build/C/man3/scandir.3:113
-#: build/C/man3/scandirat.3:103
+#: build/C/man3/opendir.3:115 build/C/man3/scandir.3:223
 #, no-wrap
 msgid "VERSIONS"
 msgstr "バージョン"
 
 #. type: Plain text
-#: build/C/man3/opendir.3:116
+#: build/C/man3/opendir.3:118
 msgid "B<fdopendir>()  is available in glibc since version 2.4."
 msgstr "B<fdopendir>()  は glibc 2.4 以降で利用可能である。"
 
 #. type: Plain text
-#: build/C/man3/opendir.3:121
+#: build/C/man3/opendir.3:123
 msgid ""
 "B<opendir>()  is present on SVr4, 4.3BSD, and specified in POSIX.1-2001.  "
 "B<fdopendir>()  is specified in POSIX.1-2008."
@@ -1157,31 +1223,32 @@ msgstr ""
 "B<fdopendir>()  は POSIX.1-2008 で規定されている。"
 
 #. type: Plain text
-#: build/C/man3/opendir.3:124
+#: build/C/man3/opendir.3:126
 msgid ""
 "The underlying file descriptor of the directory stream can be obtained using "
 "B<dirfd>(3)."
 msgstr ""
-"ã\83\87ã\82£ã\83¬ã\82¯ã\83\88ã\83ªã\82¹ã\83\88ã\83ªã\83¼ã\83 ã\81«å¯¾å¿\9cã\81\99ã\82\8bã\83\95ã\82¡ã\82¤ã\83«ã\83\87ã\82£ã\82¹ã\82¯ã\83ªã\83\97ã\82¿ã\81¯ B<dirfd>(3)  ã\82\92使ç\94¨"
-"して得ることができる。"
+"ã\83\87ã\82£ã\83¬ã\82¯ã\83\88ã\83ªã\82¹ã\83\88ã\83ªã\83¼ã\83 ã\81«å¯¾å¿\9cã\81\99ã\82\8bã\83\95ã\82¡ã\82¤ã\83«ã\83\87ã\82£ã\82¹ã\82¯ã\83ªã\83\97ã\82¿ã\83¼ã\81¯ B<dirfd>(3)  ã\82\92使"
+"して得ることができる。"
 
 #. type: Plain text
-#: build/C/man3/opendir.3:138
+#: build/C/man3/opendir.3:140
 msgid ""
 "The B<opendir>()  function sets the close-on-exec flag for the file "
 "descriptor underlying the I<DIR *>.  The B<fdopendir>()  function leaves the "
 "setting of the close-on-exec flag unchanged for the file descriptor, I<fd>.  "
-"POSIX.1-200x leaves it unspecified whether a successful call to B<fdopendir>"
-"()  will set the close-on-exec flag for the file descriptor, I<fd>."
+"POSIX.1-200x leaves it unspecified whether a successful call to "
+"B<fdopendir>()  will set the close-on-exec flag for the file descriptor, "
+"I<fd>."
 msgstr ""
-"B<opendir>()  関数は、 I<DIR *> の背後にあるファイルディスクリプタの close-"
-"on-exec ã\83\95ã\83©ã\82°ã\82\92設å®\9aã\81\99ã\82\8bã\80\82 B<fdopendir>()  é\96¢æ\95°ã\81¯ã\80\81ã\83\95ã\82¡ã\82¤ã\83«ã\83\87ã\82£ã\82¹ã\82¯ã\83ªã\83\97ã\82¿ã\81® "
-"close-on-exec ã\83\95ã\83©ã\82°ã\81®è¨­å®\9aã\82\92å¤\89æ\9b´ã\81\97ã\81ªã\81\84ã\80\82 B<fdopendir>()  ã\81®å\91¼ã\81³å\87ºã\81\97ã\81\8cæ\88\90å\8a\9fã\81\97ã\81\9f"
-"際に、ファイルディスクリプタ I<fd> の close-on-exec を設定するかどうかは、 "
-"POSIX.1-200x では規定されていない。"
+"B<opendir>()  é\96¢æ\95°ã\81¯ã\80\81 I<DIR *> ã\81®è\83\8cå¾\8cã\81«ã\81\82ã\82\8bã\83\95ã\82¡ã\82¤ã\83«ã\83\87ã\82£ã\82¹ã\82¯ã\83ªã\83\97ã\82¿ã\83¼ã\81® close-"
+"on-exec ã\83\95ã\83©ã\82°ã\82\92設å®\9aã\81\99ã\82\8bã\80\82 B<fdopendir>()  é\96¢æ\95°ã\81¯ã\80\81ã\83\95ã\82¡ã\82¤ã\83«ã\83\87ã\82£ã\82¹ã\82¯ã\83ªã\83\97ã\82¿ã\83¼"
+"ã\81® close-on-exec ã\83\95ã\83©ã\82°ã\81®è¨­å®\9aã\82\92å¤\89æ\9b´ã\81\97ã\81ªã\81\84ã\80\82 B<fdopendir>()  ã\81®å\91¼ã\81³å\87ºã\81\97ã\81\8cæ\88\90å\8a\9f"
+"した際に、ファイルディスクリプター I<fd> の close-on-exec を設定するかどうか"
+"は、 POSIX.1-200x では規定されていない。"
 
 #. type: Plain text
-#: build/C/man3/opendir.3:146
+#: build/C/man3/opendir.3:149
 msgid ""
 "B<open>(2), B<closedir>(3), B<dirfd>(3), B<readdir>(3), B<rewinddir>(3), "
 "B<scandir>(3), B<seekdir>(3), B<telldir>(3)"
@@ -1190,24 +1257,24 @@ msgstr ""
 "B<scandir>(3), B<seekdir>(3), B<telldir>(3)"
 
 #. type: TH
-#: build/C/man2/readdir.2:28 build/C/man3/readdir.3:34
+#: build/C/man2/readdir.2:30 build/C/man3/readdir.3:36
 #, no-wrap
 msgid "READDIR"
 msgstr "READDIR"
 
 #. type: TH
-#: build/C/man2/readdir.2:28
+#: build/C/man2/readdir.2:30 build/C/man3/readdir.3:36
 #, no-wrap
-msgid "2008-10-02"
-msgstr "2008-10-02"
+msgid "2013-06-21"
+msgstr "2013-06-21"
 
 #. type: Plain text
-#: build/C/man2/readdir.2:31
+#: build/C/man2/readdir.2:33
 msgid "readdir - read directory entry"
-msgstr "readdir - ã\83\87ã\82£ã\83¬ã\82¯ã\83\88ã\83ªã\83»ã\82¨ã\83³ã\83\88ã\83ªを読み込む"
+msgstr "readdir - ã\83\87ã\82£ã\83¬ã\82¯ã\83\88ã\83ªã\82¨ã\83³ã\83\88ã\83ªã\83¼を読み込む"
 
 #. type: Plain text
-#: build/C/man2/readdir.2:36
+#: build/C/man2/readdir.2:38
 #, no-wrap
 msgid ""
 "B<int readdir(unsigned int >I<fd>B<, struct old_linux_dirent *>I<dirp>B<,>\n"
@@ -1217,37 +1284,37 @@ msgstr ""
 "B<            unsigned int >I<count>B<);>\n"
 
 #. type: Plain text
-#: build/C/man2/readdir.2:45
+#: build/C/man2/readdir.2:50
 msgid ""
 "This is not the function you are interested in.  Look at B<readdir>(3)  for "
 "the POSIX conforming C library interface.  This page documents the bare "
 "kernel system call interface, which is superseded by B<getdents>(2)."
 msgstr ""
-"ã\81\93ã\82\8cã\81¯ã\81\82ã\81ªã\81\9fã\81®è\88\88å\91³ã\82\92ã\82\82ã\81£ã\81¦ã\81\84ã\82\8bé\96¢æ\95°ã\81§ã\81¯ã\81ªã\81\84ã\80\82 POSIX æº\96æ\8b ã\81® C ã\83©ã\82¤ã\83\96ã\83©ã\83ªã\83»ã\82¤ã\83³"
+"これはあなたの興味をもっている関数ではない。 POSIX 準拠の C ライブラリイン"
 "ターフェースについては B<readdir>(3)  を見ること。 このページは裸のカーネルの"
-"ã\82·ã\82¹ã\83\86ã\83 ã\82³ã\83¼ã\83«ã\83»ã\82¤ã\83³ã\82¿ã\83¼ã\83\95ã\82§ã\83¼ã\82¹ã\81«ã\81¤ã\81\84ã\81¦ è¨\98è¿°ã\81\97ã\81¦ã\81\84ã\82\8bã\81\8cã\80\81ã\81\93ã\81®ã\82¤ã\83³ã\82¿ã\83¼ã\83\95ã\82§ã\83¼ã\82¹"
+"システムコールインターフェースについて 記述しているが、このインターフェース"
 "は B<getdents>(2)  によって取って代わられた。"
 
 #. type: Plain text
-#: build/C/man2/readdir.2:59
+#: build/C/man2/readdir.2:64
 msgid ""
 "B<readdir>()  reads one I<old_linux_dirent> structure from the directory "
 "referred to by the file descriptor I<fd> into the buffer pointed to by "
 "I<dirp>.  The argument I<count> is ignored; at most one I<old_linux_dirent> "
 "structure is read."
 msgstr ""
-"B<readdir>()  は、ファイルディスクリプタ I<fd> が参照しているディレクトリか"
-"ã\82\89 I<old_linux_dirent> æ§\8bé\80 ä½\93ã\82\92読ã\81¿è¾¼ã\81¿ã\80\81 I<dirp> ã\81§æ\8c\87ã\81\95ã\82\8cã\81\9fã\83\90ã\83\83ã\83\95ã\82¡ã\81«æ ¼ç´\8dã\81\99"
-"ã\82\8bã\80\82 I<count> å¼\95ã\81\8dæ\95°ã\81¯(ã\81»ã\81¨ã\82\93ã\81©ã\81® I<old_linux_dirent> æ§\8bé\80 ä½\93ã\81®èª­ã\81¿è¾¼ã\81¿ã\81«ã\81\8aã\81\84"
-"て)無視される"
+"B<readdir>()  は、ファイルディスクリプタ I<fd> が参照しているディレクトリか"
+"ã\82\89 I<old_linux_dirent> æ§\8bé\80 ä½\93ã\82\92読ã\81¿è¾¼ã\81¿ã\80\81 I<dirp> ã\81§æ\8c\87ã\81\95ã\82\8cã\81\9fã\83\90ã\83\83ã\83\95ã\82¡ã\83¼ã\81«æ ¼ç´\8d"
+"ã\81\99ã\82\8bã\80\82 I<count> å¼\95ã\81\8dæ\95°ã\81¯(ã\81»ã\81¨ã\82\93ã\81©ã\81® I<old_linux_dirent> æ§\8bé\80 ä½\93ã\81®èª­ã\81¿è¾¼ã\81¿ã\81«ã\81\8a"
+"ã\81\84ã\81¦)ç\84¡è¦\96ã\81\95ã\82\8cã\82\8b"
 
 #. type: Plain text
-#: build/C/man2/readdir.2:63
+#: build/C/man2/readdir.2:68
 msgid "The I<old_linux_dirent> structure is declared as follows:"
 msgstr "I<old_linux_dirent> 構造体は以下のように宣言される:"
 
 #. type: Plain text
-#: build/C/man2/readdir.2:72
+#: build/C/man2/readdir.2:77
 #, no-wrap
 msgid ""
 "struct old_linux_dirent {\n"
@@ -1265,20 +1332,20 @@ msgstr ""
 "}\n"
 
 #. type: Plain text
-#: build/C/man2/readdir.2:86
+#: build/C/man2/readdir.2:91
 msgid ""
 "I<d_ino> is an inode number.  I<d_off> is the distance from the start of the "
 "directory to this I<old_linux_dirent>.  I<d_reclen> is the size of "
-"I<d_name>, not counting the terminating null byte.  I<d_name> is a null-"
-"terminated filename."
+"I<d_name>, not counting the terminating null byte (\\(aq\\e0\\(aq).  "
+"I<d_name> is a null-terminated filename."
 msgstr ""
 "I<d_ino> は inode 番号である。 I<d_off> はディレクトリの最初からこの "
 "I<old_linux_dirent> まで距離である。 I<d_reclen> は I<d_name> の大きさで、終"
-"端のヌルバイト (null byte) を含まない。 I<d_name> はヌルバイトで終わるファイ"
-"ル名である。"
+"端のヌルバイト (\\(aq\\e0\\(aq) を含まない。 I<d_name> はヌルバイトで終わる"
+"ã\83\95ã\82¡ã\82¤ã\83«å\90\8dã\81§ã\81\82ã\82\8bã\80\82"
 
 #. type: Plain text
-#: build/C/man2/readdir.2:92
+#: build/C/man2/readdir.2:97
 msgid ""
 "On success, 1 is returned.  On end of directory, 0 is returned.  On error, "
 "-1 is returned, and I<errno> is set appropriately."
@@ -1287,56 +1354,56 @@ msgstr ""
 "場合は -1 が返され、 I<errno> が適切に設定される。"
 
 #. type: Plain text
-#: build/C/man2/readdir.2:111
+#: build/C/man2/readdir.2:116
 msgid "This system call is Linux-specific."
-msgstr "ã\81\93ã\81®ã\82·ã\82¹ã\83\86ã\83 ã\83»ã\82³ã\83¼ã\83«ã\81¯ Linux ç\89¹æ\9c\89ã\81§ã\81\82ã\82\8bã\80\82"
+msgstr "このシステムコールは Linux 特有である。"
 
 #. type: Plain text
-#: build/C/man2/readdir.2:117
+#: build/C/man2/readdir.2:125
 msgid ""
 "Glibc does not provide a wrapper for this system call; call it using "
 "B<syscall>(2).  You will need to define the I<old_linux_dirent> structure "
-"yourself."
+"yourself.  However, probably you should use B<readdir>(3)  instead."
 msgstr ""
-"glibc はこのシステムコールに対するラッパー関数を提供していない。 B<syscall>"
-"(2)  を使って呼び出すこと。 I<old_linux_dirent> 構造体を自分自身で定義する必"
-"要がある。"
+"glibc はこのシステムコールに対するラッパー関数を提供していない。 "
+"B<syscall>(2)  を使って呼び出すこと。 I<old_linux_dirent> 構造体を自分自身で"
+"定義する必要がある。しかし、たいていはこのシステムコールではなく "
+"B<readdir>(3) を使うべき場面のことが多い。"
+
+#. type: Plain text
+#: build/C/man2/readdir.2:127
+msgid "This system call does not exist on x86-64."
+msgstr "このシステムコールは x86-64 では存在しない。"
 
 #. type: Plain text
-#: build/C/man2/readdir.2:119
+#: build/C/man2/readdir.2:130
 msgid "B<getdents>(2), B<readdir>(3)"
 msgstr "B<getdents>(2), B<readdir>(3)"
 
-#. type: TH
-#: build/C/man3/readdir.3:34
-#, no-wrap
-msgid "2010-09-10"
-msgstr "2010-09-10"
-
 #. type: Plain text
-#: build/C/man3/readdir.3:37
+#: build/C/man3/readdir.3:39
 msgid "readdir, readdir_r - read a directory"
 msgstr "readdir, readdir_r - ディレクトリを読み込む"
 
 #. type: Plain text
-#: build/C/man3/readdir.3:42
+#: build/C/man3/readdir.3:44
 #, no-wrap
 msgid "B<struct dirent *readdir(DIR *>I<dirp>B<);>\n"
 msgstr "B<struct dirent *readdir(DIR *>I<dirp>B<);>\n"
 
 #. type: Plain text
-#: build/C/man3/readdir.3:45
+#: build/C/man3/readdir.3:47
 #, no-wrap
 msgid "B<int readdir_r(DIR *>I<dirp>B<, struct dirent *>I<entry>B<, struct dirent **>I<result>B<);>\n"
 msgstr "B<int readdir_r(DIR *>I<dirp>B<, struct dirent *>I<entry>B<, struct dirent **>I<result>B<);>\n"
 
 #. type: Plain text
-#: build/C/man3/readdir.3:54
+#: build/C/man3/readdir.3:56
 msgid "B<readdir_r>():"
 msgstr "B<readdir_r>():"
 
 #. type: Plain text
-#: build/C/man3/readdir.3:57
+#: build/C/man3/readdir.3:59
 msgid ""
 "_POSIX_C_SOURCE\\ E<gt>=\\ 1 || _XOPEN_SOURCE || _BSD_SOURCE || _SVID_SOURCE "
 "|| _POSIX_SOURCE"
@@ -1345,7 +1412,7 @@ msgstr ""
 "|| _POSIX_SOURCE"
 
 #. type: Plain text
-#: build/C/man3/readdir.3:67
+#: build/C/man3/readdir.3:69
 msgid ""
 "The B<readdir>()  function returns a pointer to a I<dirent> structure "
 "representing the next directory entry in the directory stream pointed to by "
@@ -1353,30 +1420,30 @@ msgid ""
 "an error occurred."
 msgstr ""
 "B<readdir>()  関数は、I<dirp> が指すディレクトリストリームの中で、 次のディレ"
-"ã\82¯ã\83\88ã\83ªã\82¨ã\83³ã\83\88ã\83ªã\82\92表ã\81\99 I<dirent> æ§\8bé\80 ä½\93ã\81¸ã\81®ã\83\9dã\82¤ã\83³ã\82¿ã\82\92è¿\94ã\81\99ã\80\82 ã\83\87ã\82£ã\83¬ã\82¯ã\83\88ã\83ªã\82¹ã\83\88"
-"リームの末尾に達した場合や、 エラーが発生した場合は、 NULL を返す。"
+"ã\82¯ã\83\88ã\83ªã\82¨ã\83³ã\83\88ã\83ªã\83¼ã\82\92表ã\81\99 I<dirent> æ§\8bé\80 ä½\93ã\81¸ã\81®ã\83\9dã\82¤ã\83³ã\82¿ã\83¼ã\82\92è¿\94ã\81\99ã\80\82 ã\83\87ã\82£ã\83¬ã\82¯ã\83\88ã\83ªã\82¹"
+"ã\83\88ã\83ªã\83¼ã\83 ã\81®æ\9c«å°¾ã\81«é\81\94ã\81\97ã\81\9få ´å\90\88ã\82\84ã\80\81 ã\82¨ã\83©ã\83¼ã\81\8cç\99ºç\94\9fã\81\97ã\81\9få ´å\90\88ã\81¯ã\80\81 NULL ã\82\92è¿\94ã\81\99ã\80\82"
 
 #. type: Plain text
-#: build/C/man3/readdir.3:71
+#: build/C/man3/readdir.3:73
 msgid "On Linux, the I<dirent> structure is defined as follows:"
 msgstr "Linux では I<dirent> 構造体は以下のように定義されている。"
 
 #. type: Plain text
-#: build/C/man3/readdir.3:82
+#: build/C/man3/readdir.3:84
 #, no-wrap
 msgid ""
 "struct dirent {\n"
 "    ino_t          d_ino;       /* inode number */\n"
-"    off_t          d_off;       /* offset to the next dirent */\n"
+"    off_t          d_off;       /* not an offset; see NOTES */\n"
 "    unsigned short d_reclen;    /* length of this record */\n"
 "    unsigned char  d_type;      /* type of file; not supported\n"
-"                                   by all file system types */\n"
+"                                   by all filesystem types */\n"
 "    char           d_name[256]; /* filename */\n"
 "};\n"
 msgstr ""
 "struct dirent {\n"
 "    ino_t          d_ino;       /* inode 番号 */\n"
-"    off_t          d_off;       /* 次の dirent へのオフセット */\n"
+"    off_t          d_off;       /* オフセットではない; 注意を参照 */\n"
 "    unsigned short d_reclen;    /* このレコードの長さ */\n"
 "    unsigned char  d_type;      /* ファイル種別。全ファイルシステム */\n"
 "                                   でサポートされているわけではない */\n"
@@ -1384,22 +1451,22 @@ msgstr ""
 "};\n"
 
 #. type: Plain text
-#: build/C/man3/readdir.3:96
+#: build/C/man3/readdir.3:98
 msgid ""
 "The only fields in the I<dirent> structure that are mandated by POSIX.1 are: "
 "I<d_name>[], of unspecified size, with at most B<NAME_MAX> characters "
-"preceding the terminating null byte; and (as an XSI extension)  I<d_ino>.  "
-"The other fields are unstandardized, and not present on all systems; see "
-"NOTES below for some further details."
+"preceding the terminating null byte (\\(aq\\e0\\(aq); and (as an XSI "
+"extension)  I<d_ino>.  The other fields are unstandardized, and not present "
+"on all systems; see NOTES below for some further details."
 msgstr ""
 "I<dirent> 構造体のフィールドで POSIX.1 で要求されているのは、 I<d_name>[] と "
 "(XSI 拡張での)  I<d_ino> だけである。 I<d_name>[] はその大きさも規定されてお"
-"らず、 このフィールドには最大で B<NAME_MAX> 個の文字と、それに続く終端の "
-"NULL バイトが格納される。 他のフィールドは非標準であり、全てのシステムに存在"
-"するわけではない。 詳細については、下記の「注意」を参照のこと。"
+"らず、 このフィールドには最大で B<NAME_MAX> 個の文字と、それに続く終端の ヌル"
+"バイト (\\(aq\\e0\\(aq)が格納される。 他のフィールドは非標準であり、全てのシ"
+"ã\82¹ã\83\86ã\83 ã\81«å­\98å\9c¨ã\81\99ã\82\8bã\82\8fã\81\91ã\81§ã\81¯ã\81ªã\81\84ã\80\82 è©³ç´°ã\81«ã\81¤ã\81\84ã\81¦ã\81¯ã\80\81ä¸\8bè¨\98ã\81®ã\80\8c注æ\84\8fã\80\8dã\82\92å\8f\82ç\85§ã\81®ã\81\93ã\81¨ã\80\82"
 
 #. type: Plain text
-#: build/C/man3/readdir.3:102
+#: build/C/man3/readdir.3:104
 msgid ""
 "The data returned by B<readdir>()  may be overwritten by subsequent calls to "
 "B<readdir>()  for the same directory stream."
@@ -1408,7 +1475,7 @@ msgstr ""
 "B<readdir>()  の呼び出しによって上書きされる可能性がある。"
 
 #. type: Plain text
-#: build/C/man3/readdir.3:117
+#: build/C/man3/readdir.3:119
 msgid ""
 "The B<readdir_r>()  function is a reentrant version of B<readdir>().  It "
 "reads the next directory entry from the directory stream I<dirp>, and "
@@ -1418,14 +1485,14 @@ msgid ""
 "encountered, then NULL is instead returned in I<*result>."
 msgstr ""
 "B<readdir_r>()  関数は B<readdir>()  のリエントラント版である。 この関数は"
-"ディレクトリストリーム I<dirp> から次のディレクトリエントリを読み込み、 "
-"I<entry> ã\81\8cæ\8c\87ã\81\99å\91¼ã\81³å\87ºã\81\97å\85\83ã\81\8cå\89²ã\82\8aå½\93ã\81¦ã\81\9fã\83\90ã\83\83ã\83\95ã\82¡ã\81«ã\81\9dã\81®ã\82¨ã\83³ã\83\88ã\83ªã\82\92æ ¼ç´\8dã\81\97ã\81¦è¿\94ã\81\99 (ã\81\93"
-"ã\81®ã\83\90ã\83\83ã\83\95ã\82¡ã\81®å\89²ã\82\8aå½\93ã\81¦ã\81«ã\81¤ã\81\84ã\81¦ã\81¯ã\80\8c注æ\84\8fã\80\8dã\81®ç¯\80ã\82\92å\8f\82ç\85§ã\81®ã\81\93ã\81¨)ã\80\82 è¿\94ã\81\95ã\82\8cã\82\8bã\82¨ã\83³ã\83\88ã\83ªã\81¸"
-"ã\81®ã\83\9dã\82¤ã\83³ã\82¿ã\81\8c I<*result> ã\81«æ ¼ç´\8dã\81\95ã\82\8cã\82\8bã\80\82ã\83\87ã\82£ã\83¬ã\82¯ã\83\88ã\83ªã\82¹ã\83\88ã\83ªã\83¼ã\83 ã\81®æ\9c«å°¾ã\81«é\81\94ã\81\97ã\81\9få ´"
-"合は、 NULL が I<*result> に格納される。"
+"ã\83\87ã\82£ã\83¬ã\82¯ã\83\88ã\83ªã\82¹ã\83\88ã\83ªã\83¼ã\83  I<dirp> ã\81\8bã\82\89次ã\81®ã\83\87ã\82£ã\83¬ã\82¯ã\83\88ã\83ªã\82¨ã\83³ã\83\88ã\83ªã\83¼ã\82\92読ã\81¿è¾¼ã\81¿ã\80\81 "
+"I<entry> ã\81\8cæ\8c\87ã\81\99å\91¼ã\81³å\87ºã\81\97å\85\83ã\81\8cå\89²ã\82\8aå½\93ã\81¦ã\81\9fã\83\90ã\83\83ã\83\95ã\82¡ã\83¼ã\81«ã\81\9dã\81®ã\82¨ã\83³ã\83\88ã\83ªã\83¼ã\82\92æ ¼ç´\8dã\81\97ã\81¦è¿\94"
+"ã\81\99 (ã\81\93ã\81®ã\83\90ã\83\83ã\83\95ã\82¡ã\83¼ã\81®å\89²ã\82\8aå½\93ã\81¦ã\81«ã\81¤ã\81\84ã\81¦ã\81¯ã\80\8c注æ\84\8fã\80\8dã\81®ç¯\80ã\82\92å\8f\82ç\85§ã\81®ã\81\93ã\81¨)ã\80\82 è¿\94ã\81\95ã\82\8cã\82\8bã\82¨"
+"ã\83³ã\83\88ã\83ªã\83¼ã\81¸ã\81®ã\83\9dã\82¤ã\83³ã\82¿ã\83¼ã\81\8c I<*result> ã\81«æ ¼ç´\8dã\81\95ã\82\8cã\82\8bã\80\82ã\83\87ã\82£ã\83¬ã\82¯ã\83\88ã\83ªã\82¹ã\83\88ã\83ªã\83¼ã\83 ã\81®æ\9c«"
+"å°¾ã\81«é\81\94ã\81\97ã\81\9få ´å\90\88ã\81¯ã\80\81 NULL ã\81\8c I<*result> ã\81«æ ¼ç´\8dã\81\95ã\82\8cã\82\8bã\80\82"
 
 #. type: Plain text
-#: build/C/man3/readdir.3:132
+#: build/C/man3/readdir.3:134
 msgid ""
 "On success, B<readdir>()  returns a pointer to a I<dirent> structure.  (This "
 "structure may be statically allocated; do not attempt to B<free>(3)  it.)  "
@@ -1433,14 +1500,14 @@ msgid ""
 "is not changed.  If an error occurs, NULL is returned and I<errno> is set "
 "appropriately."
 msgstr ""
-"æ\88\90å\8a\9fã\81\99ã\82\8bã\81¨ã\80\81 B<readdir>()  ã\81¯ I<dirent> æ§\8bé\80 ä½\93ã\81¸ã\81®ã\83\9dã\82¤ã\83³ã\82¿ã\82\92è¿\94ã\81\99ã\80\82 (ã\81\93ã\81®æ§\8bé\80 "
-"体は静的に割り当てられているかもしれない。 このポインタを B<free>(3)  しよう"
-"ã\81¨ã\81\97ã\81ªã\81\84ã\81\93ã\81¨ã\80\82)  ã\83\87ã\82£ã\83¬ã\82¯ã\83\88ã\83ªã\82¹ã\83\88ã\83ªã\83¼ã\83 ã\81®æ\9c«å°¾ã\81«é\81\94ã\81\97ã\81\9få ´å\90\88ã\81«ã\81¯ã\80\81NULL ã\81\8cè¿\94ã\81\95"
-"ã\82\8cã\80\81 I<errno> ã\81¯å¤\89å\8c\96ã\81\97ã\81ªã\81\84ã\80\82 ã\82¨ã\83©ã\83¼ã\81\8cç\99ºç\94\9fã\81\97ã\81\9få ´å\90\88ã\80\81NULL ã\81\8cè¿\94ã\81\95ã\82\8cã\80\81 I<errno> "
-"が適切に設定される。"
+"æ\88\90å\8a\9fã\81\99ã\82\8bã\81¨ã\80\81 B<readdir>()  ã\81¯ I<dirent> æ§\8bé\80 ä½\93ã\81¸ã\81®ã\83\9dã\82¤ã\83³ã\82¿ã\83¼ã\82\92è¿\94ã\81\99ã\80\82 (ã\81\93ã\81®æ§\8b"
+"造体は静的に割り当てられているかもしれない。 このポインターを B<free>(3)  し"
+"ã\82\88ã\81\86ã\81¨ã\81\97ã\81ªã\81\84ã\81\93ã\81¨ã\80\82)  ã\83\87ã\82£ã\83¬ã\82¯ã\83\88ã\83ªã\82¹ã\83\88ã\83ªã\83¼ã\83 ã\81®æ\9c«å°¾ã\81«é\81\94ã\81\97ã\81\9få ´å\90\88ã\81«ã\81¯ã\80\81NULL ã\81\8cè¿\94"
+"ã\81\95ã\82\8cã\80\81 I<errno> ã\81¯å¤\89å\8c\96ã\81\97ã\81ªã\81\84ã\80\82 ã\82¨ã\83©ã\83¼ã\81\8cç\99ºç\94\9fã\81\97ã\81\9få ´å\90\88ã\80\81NULL ã\81\8cè¿\94ã\81\95ã\82\8cã\80\81 "
+"I<errno> が適切に設定される。"
 
 #. type: Plain text
-#: build/C/man3/readdir.3:141
+#: build/C/man3/readdir.3:143
 msgid ""
 "The B<readdir_r>()  function returns 0 on success.  On error, it returns a "
 "positive error number (listed under ERRORS).  If the end of the directory "
@@ -1452,12 +1519,22 @@ msgstr ""
 "納する。"
 
 #. type: Plain text
-#: build/C/man3/readdir.3:147 build/C/man3/rewinddir.3:51
+#: build/C/man3/readdir.3:152
+msgid "The B<readdir>()  function is not thread-safe."
+msgstr "B<readdir>() 関数はスレッドセーフではない。"
+
+#. type: Plain text
+#: build/C/man3/readdir.3:156
+msgid "The B<readdir_r>()  function is thread-safe."
+msgstr "B<readdir_r>() 関数はスレッドセーフである。"
+
+#. type: Plain text
+#: build/C/man3/readdir.3:158 build/C/man3/rewinddir.3:60
 msgid "SVr4, 4.3BSD, POSIX.1-2001."
 msgstr "SVr4, 4.3BSD, POSIX.1-2001."
 
 #. type: Plain text
-#: build/C/man3/readdir.3:163
+#: build/C/man3/readdir.3:174
 msgid ""
 "Only the fields I<d_name> and I<d_ino> are specified in POSIX.1-2001.  The "
 "remaining fields are available on many, but not all systems.  Under glibc, "
@@ -1473,8 +1550,26 @@ msgstr ""
 "B<_DIRENT_HAVE_D_NAMLEN>, B<_DIRENT_HAVE_D_RECLEN>, B<_DIRENT_HAVE_D_OFF>, "
 "B<_DIRENT_HAVE_D_TYPE> が定義されているかをテストすればよい。"
 
+#.  https://lwn.net/Articles/544298/
 #. type: Plain text
-#: build/C/man3/readdir.3:176
+#: build/C/man3/readdir.3:187
+msgid ""
+"The value returned in I<d_off> is the same as would be returned by calling "
+"B<telldir>(3)  at the current position in the directory stream.  Be aware "
+"that despite its type and name, the I<d_off> field is seldom any kind of "
+"directory offset on modern filesystems.  Applications should treat this "
+"field as an opaque value, making no assumptions about its contents; see also "
+"B<telldir>(3)."
+msgstr ""
+"I<d_off> で返される値は B<telldir>(3) が返す値と同じで、ディレクトリストリー"
+"ム内の現在の位置を示す。\n"
+"フィールドの型や名前はこうなっていますが、最近のファイルシステムでは "
+"I<d_off> フィールドが何らかのディレクトリオフセットであることはめったいにな"
+"い。アプリケーションプログラムでは、必ずこの値を内容を意識せず単なる値として"
+"扱うべきであり、その内容について前提を持つべきではない。"
+
+#. type: Plain text
+#: build/C/man3/readdir.3:200
 msgid ""
 "Other than Linux, the I<d_type> field is available mainly only on BSD "
 "systems.  This field makes it possible to avoid the expense of calling "
@@ -1489,7 +1584,7 @@ msgstr ""
 "マクロ定数を定義する。"
 
 #. type: Plain text
-#: build/C/man3/readdir.3:207
+#: build/C/man3/readdir.3:231
 msgid ""
 "If the file type could not be determined, the value B<DT_UNKNOWN> is "
 "returned in I<d_type>."
@@ -1497,7 +1592,7 @@ msgstr ""
 "ファイル種別を決定できなかった場合には、 I<d_type> に B<DT_UNKNOWN> が入る。"
 
 #. type: Plain text
-#: build/C/man3/readdir.3:226
+#: build/C/man3/readdir.3:250
 msgid ""
 "Since POSIX.1 does not specify the size of the I<d_name> field, and other "
 "nonstandard fields may precede that field within the I<dirent> structure, "
@@ -1507,22 +1602,26 @@ msgstr ""
 "POSIX.1 では I<d_name> フィールドのサイズは規定されておらず、 I<dirent> 構造"
 "体の I<d_name> の後ろに他の非標準のフィールドがあるかもしれないので、 移植性"
 "が必要なアプリケーションで B<readdir_r>()  を使う場合は I<entry> に渡すバッ"
-"ファを次のようにして割り当てるべきである。"
+"ã\83\95ã\82¡ã\83¼ã\82\92次ã\81®ã\82\88ã\81\86ã\81«ã\81\97ã\81¦å\89²ã\82\8aå½\93ã\81¦ã\82\8bã\81¹ã\81\8dã\81§ã\81\82ã\82\8bã\80\82"
 
 #. type: Plain text
-#: build/C/man3/readdir.3:232
+#: build/C/man3/readdir.3:258
 #, no-wrap
 msgid ""
-"len = offsetof(struct dirent, d_name) +\n"
-"          pathconf(dirpath, _PC_NAME_MAX) + 1\n"
+"name_max = pathconf(dirpath, _PC_NAME_MAX);\n"
+"if (name_max == -1)         /* Limit not defined, or error */\n"
+"    name_max = 255;         /* Take a guess */\n"
+"len = offsetof(struct dirent, d_name) + name_max + 1;\n"
 "entryp = malloc(len);\n"
 msgstr ""
-"len = offsetof(struct dirent, d_name) +\n"
-"          pathconf(dirpath, _PC_NAME_MAX) + 1\n"
+"name_max = pathconf(dirpath, _PC_NAME_MAX);\n"
+"if (name_max == -1)         /* 上限が定義されていない、またはエラー */\n"
+"    name_max = 255;         /* 適当な値を入れる */\n"
+"len = offsetof(struct dirent, d_name) + name_max + 1;\n"
 "entryp = malloc(len);\n"
 
 #. type: Plain text
-#: build/C/man3/readdir.3:239
+#: build/C/man3/readdir.3:265
 msgid ""
 "(POSIX.1 requires that I<d_name> is the last field in a I<struct dirent>.)"
 msgstr ""
@@ -1530,41 +1629,41 @@ msgstr ""
 "求している。)"
 
 #. type: Plain text
-#: build/C/man3/readdir.3:250
+#: build/C/man3/readdir.3:277
 msgid ""
 "B<getdents>(2), B<read>(2), B<closedir>(3), B<dirfd>(3), B<ftw>(3), "
-"B<offsetof>(3), B<opendir>(3), B<rewinddir>(3), B<scandir>(3), B<seekdir>"
-"(3), B<telldir>(3)"
+"B<offsetof>(3), B<opendir>(3), B<rewinddir>(3), B<scandir>(3), "
+"B<seekdir>(3), B<telldir>(3)"
 msgstr ""
 "B<getdents>(2), B<read>(2), B<closedir>(3), B<dirfd>(3), B<ftw>(3), "
-"B<offsetof>(3), B<opendir>(3), B<rewinddir>(3), B<scandir>(3), B<seekdir>"
-"(3), B<telldir>(3)"
+"B<offsetof>(3), B<opendir>(3), B<rewinddir>(3), B<scandir>(3), "
+"B<seekdir>(3), B<telldir>(3)"
 
 #. type: TH
-#: build/C/man3/rewinddir.3:29
+#: build/C/man3/rewinddir.3:31
 #, no-wrap
 msgid "REWINDDIR"
 msgstr "REWINDDIR"
 
 #. type: TH
-#: build/C/man3/rewinddir.3:29
+#: build/C/man3/rewinddir.3:31 build/C/man3/telldir.3:30
 #, no-wrap
-msgid "1995-06-11"
-msgstr "1995-06-11"
+msgid "2013-09-02"
+msgstr "2013-09-02"
 
 #. type: Plain text
-#: build/C/man3/rewinddir.3:32
+#: build/C/man3/rewinddir.3:34
 msgid "rewinddir - reset directory stream"
 msgstr "rewinddir - ディレクトリストリームの初期化"
 
 #. type: Plain text
-#: build/C/man3/rewinddir.3:39
+#: build/C/man3/rewinddir.3:41
 #, no-wrap
 msgid "B<void rewinddir(DIR *>I<dirp>B<);>\n"
 msgstr "B<void rewinddir(DIR *>I<dirp>B<);>\n"
 
 #. type: Plain text
-#: build/C/man3/rewinddir.3:45
+#: build/C/man3/rewinddir.3:49
 msgid ""
 "The B<rewinddir>()  function resets the position of the directory stream "
 "I<dirp> to the beginning of the directory."
@@ -1573,12 +1672,17 @@ msgstr ""
 "の先頭に初期化する。"
 
 #. type: Plain text
-#: build/C/man3/rewinddir.3:49
+#: build/C/man3/rewinddir.3:53
 msgid "The B<rewinddir>()  function returns no value."
 msgstr "B<rewinddir>()  関数は、値を返さない。"
 
 #. type: Plain text
-#: build/C/man3/rewinddir.3:57
+#: build/C/man3/rewinddir.3:58
+msgid "The B<rewinddir>()  function is thread-safe."
+msgstr "B<rewinddir>() 関数はスレッドセーフである。"
+
+#. type: Plain text
+#: build/C/man3/rewinddir.3:67
 msgid ""
 "B<closedir>(3), B<opendir>(3), B<readdir>(3), B<scandir>(3), B<seekdir>(3), "
 "B<telldir>(3)"
@@ -1587,30 +1691,32 @@ msgstr ""
 "B<telldir>(3)"
 
 #. type: TH
-#: build/C/man3/scandir.3:34
+#: build/C/man3/scandir.3:62
 #, no-wrap
 msgid "SCANDIR"
 msgstr "SCANDIR"
 
 #. type: TH
-#: build/C/man3/scandir.3:34
+#: build/C/man3/scandir.3:62
 #, no-wrap
-msgid "2012-03-20"
-msgstr "2012-03-20"
+msgid "2014-05-28"
+msgstr "2014-05-28"
 
 #. type: Plain text
-#: build/C/man3/scandir.3:37
-msgid "scandir, alphasort, versionsort - scan a directory for matching entries"
-msgstr "scandir, alphasort, versionsort - ディレクトリを走査する"
+#: build/C/man3/scandir.3:66
+msgid ""
+"scandir, scandirat, alphasort, versionsort - scan a directory for matching "
+"entries"
+msgstr "scandir, scandirat, alphasort, versionsort - ディレクトリを走査する"
 
 #. type: Plain text
-#: build/C/man3/scandir.3:42
+#: build/C/man3/scandir.3:71
 #, no-wrap
 msgid "B<int scandir(const char *>I<dirp>B<, struct dirent ***>I<namelist>B<,>\n"
 msgstr "B<int scandir(const char *>I<dirp>B<, struct dirent ***>I<namelist>B<,>\n"
 
 #. type: Plain text
-#: build/C/man3/scandir.3:45 build/C/man3/scandirat.3:43
+#: build/C/man3/scandir.3:74 build/C/man3/scandir.3:90
 #, no-wrap
 msgid ""
 "B<int (*>I<filter>B<)(const struct dirent *),>\n"
@@ -1620,29 +1726,53 @@ msgstr ""
 "B<int (*>I<compar>B<)(const struct dirent **, const struct dirent **));>\n"
 
 #. type: Plain text
-#: build/C/man3/scandir.3:48
+#: build/C/man3/scandir.3:77
 #, no-wrap
-msgid "B<int alphasort(const void *>I<a>B<, const void *>I<b>B<);>\n"
-msgstr "B<int alphasort(const void *>I<a>B<, const void *>I<b>B<);>\n"
+msgid "B<int alphasort(const struct dirent **>I<a>B<, const struct dirent **>I<b>B<);>\n"
+msgstr "B<int alphasort(const struct dirent **>I<a>B<, const struct dirent **>I<b>B<);>\n"
 
 #. type: Plain text
-#: build/C/man3/scandir.3:50
+#: build/C/man3/scandir.3:79
 #, no-wrap
-msgid "B<int versionsort(const void *>I<a>B<, const void *>I<b>B<);>\n"
-msgstr "B<int versionsort(const void *>I<a>B<, const void *>I<b>B<);>\n"
+msgid "B<int versionsort(const struct dirent **>I<a>B<, const struct dirent **>I<b>B<);>\n"
+msgstr "B<int versionsort(const struct dirent **>I<a>B<, const struct dirent **>I<b>B<);>\n"
+
+#. type: Plain text
+#: build/C/man3/scandir.3:82
+#, no-wrap
+msgid ""
+"B<#include E<lt>fcntl.hE<gt>>          /* Definition of AT_* constants */\n"
+"B<#include E<lt>dirent.hE<gt>>\n"
+msgstr ""
+"B<#include E<lt>fcntl.hE<gt>>          /* AT_* 定数の定義 */\n"
+"B<#include E<lt>dirent.hE<gt>>\n"
+
+#. type: Plain text
+#: build/C/man3/scandir.3:86
+msgid ""
+"B<int scandirat(int >I<dirfd>B<, const char *>I<dirp>B<,> B<struct dirent "
+"***>I<namelist>B<,>"
+msgstr ""
+"B<int scandirat(int >I<dirfd>B<, const char *>I<dirp>B<,> B<struct dirent "
+"***>I<namelist>B<,>"
 
 #. type: Plain text
-#: build/C/man3/scandir.3:60
-msgid "B<scandir>(), B<alphasort>(): _BSD_SOURCE || _SVID_SOURCE"
-msgstr "B<scandir>(), B<alphasort>(): _BSD_SOURCE || _SVID_SOURCE"
+#: build/C/man3/scandir.3:100
+msgid "B<scandir>(), B<alphasort>():"
+msgstr "B<scandir>(), B<alphasort>():"
 
 #. type: Plain text
-#: build/C/man3/scandir.3:63
+#: build/C/man3/scandir.3:115
 msgid "B<versionsort>(): _GNU_SOURCE"
 msgstr "B<versionsort>(): _GNU_SOURCE"
 
 #. type: Plain text
-#: build/C/man3/scandir.3:78
+#: build/C/man3/scandir.3:118
+msgid "B<scandirat>(): _GNU_SOURCE"
+msgstr "B<scandirat>(): _GNU_SOURCE"
+
+#. type: Plain text
+#: build/C/man3/scandir.3:133
 msgid ""
 "The B<scandir>()  function scans the directory I<dirp>, calling I<filter>() "
 "on each directory entry.  Entries for which I<filter>() returns nonzero are "
@@ -1651,15 +1781,15 @@ msgid ""
 "which is allocated via B<malloc>(3).  If I<filter> is NULL, all entries are "
 "selected."
 msgstr ""
-"関数 B<scandir>()  はディレクトリ I<dirp> を走査し、 ディレクトリの各エント"
-"ã\82\92å¼\95ã\81\8dæ\95°ã\81¨ã\81\97ã\81¦ B<filter>()  ã\82\92å\91¼ã\81³å\87ºã\81\99ã\80\82 B<filter>()  ã\81\8c 0 ä»¥å¤\96ã\81®å\80¤ã\82\92è¿\94ã\81\99ã\82¨ã\83³"
-"ã\83\88ã\83ªã\81¯ B<malloc>(3)  ã\81«ã\82\88ã\81£ã\81¦ ç¢ºä¿\9dã\81\95ã\82\8cã\81\9fæ\96\87å­\97å\88\97ã\81«ä¿\9då­\98ã\81\95ã\82\8cã\80\81æ¯\94è¼\83é\96¢æ\95° B<compar>"
-"()  を用いて B<qsort>(3)  によりソートされ、 B<malloc>(3)  により確保された配"
-"列 I<namelist> にまとめられる。 I<filter> が NULL ならば、すべてのエントリが"
-"選択される。"
+"関数 B<scandir>()  はディレクトリ I<dirp> を走査し、 ディレクトリの各エント"
+"ã\83ªã\83¼ã\82\92å¼\95ã\81\8dæ\95°ã\81¨ã\81\97ã\81¦ B<filter>()  ã\82\92å\91¼ã\81³å\87ºã\81\99ã\80\82 B<filter>()  ã\81\8c 0 ä»¥å¤\96ã\81®å\80¤ã\82\92è¿\94ã\81\99"
+"ã\82¨ã\83³ã\83\88ã\83ªã\83¼ã\81¯ B<malloc>(3)  ã\81«ã\82\88ã\81£ã\81¦ ç¢ºä¿\9dã\81\95ã\82\8cã\81\9fæ\96\87å­\97å\88\97ã\81«ä¿\9då­\98ã\81\95ã\82\8cã\80\81æ¯\94è¼\83é\96¢æ\95° "
+"B<compar>()  を用いて B<qsort>(3)  によりソートされ、 B<malloc>(3)  により確"
+"保された配列 I<namelist> にまとめられる。 I<filter> が NULL ならば、すべての"
+"エントリーが選択される。"
 
 #. type: Plain text
-#: build/C/man3/scandir.3:90
+#: build/C/man3/scandir.3:145
 msgid ""
 "The B<alphasort>()  and B<versionsort>()  functions can be used as the "
 "comparison function I<compar>().  The former sorts directory entries using "
@@ -1668,20 +1798,70 @@ msgid ""
 msgstr ""
 "比較関数 I<compar>()  には B<alphasort>()  関数と B<versionsort>()  関数を使"
 "うことができる。 B<alphasort>()  は B<strcoll>(3)  を用いてディレクトリエント"
-"リをソートし、 B<versionsort>()  は文字列 I<(*a)-E<gt>d_name> と I<(*b)-"
+"ã\83ªã\83¼ã\82\92ã\82½ã\83¼ã\83\88ã\81\97ã\80\81 B<versionsort>()  ã\81¯æ\96\87å­\97å\88\97 I<(*a)-E<gt>d_name> ã\81¨ I<(*b)-"
 "E<gt>d_name> に対して B<strverscmp>(3)  を用いる。"
 
+#. type: SS
+#: build/C/man3/scandir.3:145
+#, no-wrap
+msgid "scandirat()"
+msgstr "scandirat()"
+
 #. type: Plain text
-#: build/C/man3/scandir.3:95
+#: build/C/man3/scandir.3:151
 msgid ""
-"The B<scandir>()  function returns the number of directory entries selected "
-"or -1 if an error occurs."
+"The B<scandirat>()  function operates in exactly the same way as "
+"B<scandir>(), except for the differences described here."
 msgstr ""
-"関数 B<scandir>()  は選択されたエントリの数か、 (エラーが発生した場合) -1 を"
-"返す。"
+"B<scandirat>() 関数は B<scandir>() と全く同様の動作をする。差分についてはここ"
+"で説明する。"
+
+#. type: Plain text
+#: build/C/man3/scandir.3:161
+msgid ""
+"If the pathname given in I<dirp> is relative, then it is interpreted "
+"relative to the directory referred to by the file descriptor I<dirfd> "
+"(rather than relative to the current working directory of the calling "
+"process, as is done by B<scandir>()  for a relative pathname)."
+msgstr ""
+"I<dirp> で指定されたパス名が相対パスの場合、ファイルディスクリプター "
+"I<dirfd> が参照するディレクトリからの相対パスと解釈される (これに対して、"
+"B<scandir>() の場合は、相対パス名は、呼び出したプロセスのカレントワーキング"
+"ディレクトリからの相対パスと解釈される)。"
+
+#. type: Plain text
+#: build/C/man3/scandir.3:173
+msgid ""
+"If I<dirp> is relative and I<dirfd> is the special value B<AT_FDCWD>, then "
+"I<dirp> is interpreted relative to the current working directory of the "
+"calling process (like B<scandir>())."
+msgstr ""
+"I<dirp> が相対パスで I<dirfd> が特別な値 B<AT_FDCWD> の場合、 I<dirp> は "
+"(B<scandir>() と同様に) 呼び出したプロセスのカレントワーキングディレクトリか"
+"らの相対パスと解釈される。"
+
+#. type: Plain text
+#: build/C/man3/scandir.3:179
+msgid "If I<dirp> is absolute, then I<dirfd> is ignored."
+msgstr "I<dirp> が絶対パスの場合、I<dirfd> は無視される。"
+
+#. type: Plain text
+#: build/C/man3/scandir.3:184
+msgid "See B<openat>(2)  for an explanation of the need for B<scandirat>()."
+msgstr "B<scandirat>() が必要な理由については B<openat>(2) を参照すること。"
 
 #. type: Plain text
-#: build/C/man3/scandir.3:103
+#: build/C/man3/scandir.3:192
+msgid ""
+"The B<scandir>()  function returns the number of directory entries "
+"selected.  On error, -1 is returned, with I<errno> set to indicate the cause "
+"of the error."
+msgstr ""
+"B<scandir>() 関数は、選択されたディレクトリのエントリー数を返す。 エラーの場"
+"合、 -1 を返し、 I<errno> にエラーの原因を示す値を設定する。"
+
+#. type: Plain text
+#: build/C/man3/scandir.3:200
 msgid ""
 "The B<alphasort>()  and B<versionsort>()  functions return an integer less "
 "than, equal to, or greater than zero if the first argument is considered to "
@@ -1692,64 +1872,70 @@ msgstr ""
 "値を返す。"
 
 #. type: Plain text
-#: build/C/man3/scandir.3:107
+#: build/C/man3/scandir.3:204
 msgid "The path in I<dirp> does not exist."
 msgstr "I<dirp> で指定されたパスが存在しない。"
 
 #. type: Plain text
-#: build/C/man3/scandir.3:113
+#: build/C/man3/scandir.3:210
 msgid "The path in I<dirp> is not a directory."
 msgstr "I<dirp> で指定されたパスがディレクトリではない。"
 
 #. type: Plain text
-#: build/C/man3/scandir.3:116
-msgid "B<versionsort>()  was added to glibc in version 2.1."
-msgstr "B<versionsort>()  は、glibc バージョン 2.1 で追加された。"
+#: build/C/man3/scandir.3:213
+msgid "The following additional errors can occur for B<scandirat>():"
+msgstr "B<scandirat>() では追加で以下のエラーも発生する:"
 
 #. type: Plain text
-#: build/C/man3/scandir.3:123
-msgid ""
-"B<alphasort>()  and B<scandir>()  are specified in POSIX.1-2008, and are "
-"widely available.  B<versionsort>()  is a GNU extension."
-msgstr ""
-"B<alphasort>()  と B<scandir>()  は POSIX.1-2008 で規定されており、広く利用可"
-"能である。 B<versionsort>()  は GNU 拡張である。"
+#: build/C/man3/scandir.3:217
+msgid "I<dirfd> is not a valid file descriptor."
+msgstr "I<dirfd> が有効なファイルディスクリプターではない。"
 
 #. type: Plain text
-#: build/C/man3/scandir.3:130
+#: build/C/man3/scandir.3:223
 msgid ""
-"The functions B<scandir>()  and B<alphasort>()  are from 4.3BSD, and have "
-"been available under Linux since libc4.  Libc4 and libc5 use the more "
-"precise prototype"
+"I<dirp> is a relative path and I<dirfd> is a file descriptor referring to a "
+"file other than a directory."
 msgstr ""
-"関数 B<scandir>()  と B<alphasort>()  は 4.3BSD から取り入れられ、Linux では "
-"libc4 から使用可能になった。 libc4 と libc5 では以下のようなもっと詳細なプロ"
-"トタイプを使っている。"
+"I<dirp> が相対パスで、I<dirfd> がディレクトリ以外のファイルを参照している\n"
+"ファイルディスクリプターである。"
 
 #. type: Plain text
-#: build/C/man3/scandir.3:134
-#, no-wrap
-msgid ""
-"    int alphasort(const struct dirent ** a,\n"
-"                  const struct dirent **b);\n"
-msgstr ""
-"    int alphasort(const struct dirent ** a,\n"
-"                  const struct dirent **b);\n"
+#: build/C/man3/scandir.3:226
+msgid "B<versionsort>()  was added to glibc in version 2.1."
+msgstr "B<versionsort>()  は、glibc バージョン 2.1 で追加された。"
 
 #. type: Plain text
-#: build/C/man3/scandir.3:137
-msgid "but glibc 2.0 returns to the imprecise BSD prototype."
-msgstr "しかし glibc 2.0 では不正確な BSD のプロトタイプに戻った。"
+#: build/C/man3/scandir.3:229
+msgid "B<scandirat>()  was added to glibc in version 2.15."
+msgstr "B<scandirat>()  は glibc バージョン 2.15 で追加された。"
 
 #. type: Plain text
-#: build/C/man3/scandir.3:141
-msgid ""
-"The function B<versionsort>()  is a GNU extension, available since glibc 2.1."
-msgstr ""
-"関数 B<versionsort>()  は GNU の拡張であり、glibc 2.1 以降で使用可能である。"
+#: build/C/man3/scandir.3:233
+msgid "B<alphasort>(), B<scandir>(): 4.3BSD, POSIX.1-2008."
+msgstr "B<alphasort>(), B<scandir>(): 4.3BSD, POSIX.1-2008."
+
+#.  .LP
+#.  The functions
+#.  .BR scandir ()
+#.  and
+#.  .BR alphasort ()
+#.  are from 4.3BSD, and have been available under Linux since libc4.
+#.  Libc4 and libc5 use the more precise prototype
+#.  .sp
+#.  .nf
+#.     int alphasort(const struct dirent ** a,
+#.                   const struct dirent **b);
+#.  .fi
+#.  .sp
+#.  but glibc 2.0 returns to the imprecise BSD prototype.
+#. type: Plain text
+#: build/C/man3/scandir.3:252
+msgid "B<versionsort>()  and B<scandirat>()  are GNU extensions."
+msgstr "B<versionsort>() と B<scandirat>() は GNU 拡張である。"
 
 #. type: Plain text
-#: build/C/man3/scandir.3:148
+#: build/C/man3/scandir.3:259
 msgid ""
 "Since glibc 2.1, B<alphasort>()  calls B<strcoll>(3); earlier it used "
 "B<strcmp>(3)."
@@ -1758,7 +1944,7 @@ msgstr ""
 "B<alphasort>()  は以前は B<strcmp>(3)  を使っていた。"
 
 #. type: Plain text
-#: build/C/man3/scandir.3:153
+#: build/C/man3/scandir.3:264
 #, no-wrap
 msgid ""
 "#define _SVID_SOURCE\n"
@@ -1770,7 +1956,7 @@ msgstr ""
 "#include E<lt>dirent.hE<gt>\n"
 
 #. type: Plain text
-#: build/C/man3/scandir.3:159
+#: build/C/man3/scandir.3:270
 #, no-wrap
 msgid ""
 "int\n"
@@ -1786,10 +1972,10 @@ msgstr ""
 "    int n;\n"
 
 #. type: Plain text
-#: build/C/man3/scandir.3:171
+#: build/C/man3/scandir.3:282
 #, no-wrap
 msgid ""
-"    n = scandir(\".\", &namelist, 0, alphasort);\n"
+"    n = scandir(\".\", &namelist, NULL, alphasort);\n"
 "    if (n E<lt> 0)\n"
 "        perror(\"scandir\");\n"
 "    else {\n"
@@ -1801,7 +1987,7 @@ msgid ""
 "    }\n"
 "}\n"
 msgstr ""
-"    n = scandir(\".\", &namelist, 0, alphasort);\n"
+"    n = scandir(\".\", &namelist, NULL, alphasort);\n"
 "    if (n E<lt> 0)\n"
 "        perror(\"scandir\");\n"
 "    else {\n"
@@ -1814,143 +2000,30 @@ msgstr ""
 "}\n"
 
 #. type: Plain text
-#: build/C/man3/scandir.3:183
+#: build/C/man3/scandir.3:294
 msgid ""
-"B<closedir>(3), B<fnmatch>(3), B<opendir>(3), B<readdir>(3), B<rewinddir>"
-"(3), B<scandirat>(3), B<seekdir>(3), B<strcmp>(3), B<strcoll>(3), "
+"B<closedir>(3), B<fnmatch>(3), B<opendir>(3), B<readdir>(3), "
+"B<rewinddir>(3), B<seekdir>(3), B<strcmp>(3), B<strcoll>(3), "
 "B<strverscmp>(3), B<telldir>(3)"
-msgstr "B<closedir>(3), B<fnmatch>(3), B<opendir>(3), B<readdir>(3), B<rewinddir>(3), B<scandirat>(3), B<seekdir>(3), B<strcmp>(3), B<strcoll>(3), B<strverscmp>(3), B<telldir>(3)"
-
-#. type: TH
-#: build/C/man3/scandirat.3:26
-#, no-wrap
-msgid "SCANDIRAT"
-msgstr "SCANDIRAT"
-
-#. type: TH
-#: build/C/man3/scandirat.3:26
-#, no-wrap
-msgid "2012-03-17"
-msgstr "2012-03-17"
-
-#. type: Plain text
-#: build/C/man3/scandirat.3:29
-msgid "scandirat - scan a directory relative to a directory file descriptor"
-msgstr ""
-
-#. type: Plain text
-#: build/C/man3/scandirat.3:32
-#, no-wrap
-msgid "B<#define _GNU_SOURCE>         /* See feature_test_macros(7) */\n"
-msgstr ""
-
-#. type: Plain text
-#: build/C/man3/scandirat.3:35
-#, no-wrap
-msgid ""
-"B<#include E<lt>fcntl.hE<gt>>          /* Definition of AT_* constants */\n"
-"B<#include E<lt>dirent.hE<gt>>\n"
-msgstr ""
-
-#. type: Plain text
-#: build/C/man3/scandirat.3:39
-msgid ""
-"B<int scandirat(int >I<dirfd>B<, const char *>I<dirp>B<,> B<struct dirent "
-"***>I<namelist>B<,>"
-msgstr "B<int scandirat(int >I<dirfd>B<, const char *>I<dirp>B<,> B<struct dirent ***>I<namelist>B<,>"
-
-#. type: Plain text
-#: build/C/man3/scandirat.3:51
-msgid ""
-"The B<scandirat>()  system call operates in exactly the same way as "
-"B<scandir>(3), except for the differences described in this manual page."
-msgstr ""
-
-#. type: Plain text
-#: build/C/man3/scandirat.3:61
-msgid ""
-"If the pathname given in I<dirp> is relative, then it is interpreted "
-"relative to the directory referred to by the file descriptor I<dirfd> "
-"(rather than relative to the current working directory of the calling "
-"process, as is done by B<scandir>(3)  for a relative pathname)."
-msgstr ""
-
-#. type: Plain text
-#: build/C/man3/scandirat.3:73
-msgid ""
-"If I<dirp> is relative and I<dirfd> is the special value B<AT_FDCWD>, then "
-"I<dirp> is interpreted relative to the current working directory of the "
-"calling process (like B<scandir>(3))."
-msgstr ""
-
-#. type: Plain text
-#: build/C/man3/scandirat.3:79
-msgid "If I<dirp> is absolute, then I<dirfd> is ignored."
-msgstr ""
-
-#. type: Plain text
-#: build/C/man3/scandirat.3:86
-msgid ""
-"On success, B<scandirat>()  returns the number of directory entries "
-"selected.  On error, -1 is returned and I<errno> is set to indicate the "
-"error."
-msgstr ""
-"成功した場合は、 B<scandirat>() は選択されたディレクトリエントリ数を返す。\n"
-"エラーの場合、 -1 が返され、 I<errno> にエラーを示す値が設定される。"
-
-#. type: Plain text
-#: build/C/man3/scandirat.3:93
-msgid ""
-"The same errors that occur for B<scandir>(3)  can also occur for B<scandirat>"
-"().  The following additional errors can occur for B<scandirat>():"
-msgstr ""
-
-#. type: Plain text
-#: build/C/man3/scandirat.3:97
-msgid "I<dirfd> is not a valid file descriptor."
-msgstr "I<dirfd> が有効なファイルディスクリプタではない。"
-
-#. type: Plain text
-#: build/C/man3/scandirat.3:103
-msgid ""
-"I<dirp> is a relative path and I<dirfd> is a file descriptor referring to a "
-"file other than a directory."
-msgstr ""
-
-#. type: Plain text
-#: build/C/man3/scandirat.3:106
-msgid "B<scandirat>()  was added to glibc in version 2.15."
-msgstr "B<scandirat>()  は glibc バージョン 2.15 で追加された。"
-
-#. type: Plain text
-#: build/C/man3/scandirat.3:108
-msgid "This function is a GNU extension."
-msgstr ""
-
-#. type: Plain text
-#: build/C/man3/scandirat.3:113
-msgid "See B<openat>(2)  for an explanation of the need for B<scandirat>()."
-msgstr ""
-
-#. type: Plain text
-#: build/C/man3/scandirat.3:116
-msgid "B<openat>(2), B<scandir>(3), B<path_resolution>(7)"
 msgstr ""
+"B<closedir>(3), B<fnmatch>(3), B<opendir>(3), B<readdir>(3), "
+"B<rewinddir>(3), B<seekdir>(3), B<strcmp>(3), B<strcoll>(3), "
+"B<strverscmp>(3), B<telldir>(3)"
 
 #. type: TH
-#: build/C/man3/seekdir.3:28
+#: build/C/man3/seekdir.3:31
 #, no-wrap
 msgid "SEEKDIR"
 msgstr "SEEKDIR"
 
 #. type: TH
-#: build/C/man3/seekdir.3:28 build/C/man3/telldir.3:28
+#: build/C/man3/seekdir.3:31
 #, no-wrap
-msgid "2009-03-11"
-msgstr "2009-03-11"
+msgid "2013-09-09"
+msgstr "2013-09-09"
 
 #. type: Plain text
-#: build/C/man3/seekdir.3:32
+#: build/C/man3/seekdir.3:35
 msgid ""
 "seekdir - set the position of the next readdir() call in the directory "
 "stream."
@@ -1959,50 +2032,57 @@ msgstr ""
 "設定する"
 
 #. type: Plain text
-#: build/C/man3/seekdir.3:37
+#: build/C/man3/seekdir.3:40
 #, no-wrap
-msgid "B<void seekdir(DIR *>I<dirp>B<, long >I<offset>B<);>\n"
-msgstr "B<void seekdir(DIR *>I<dirp>B<, long >I<offset>B<);>\n"
+msgid "B<void seekdir(DIR *>I<dirp>B<, long >I<loc>B<);>\n"
+msgstr "B<void seekdir(DIR *>I<dirp>B<, long >I<loc>B<);>\n"
 
 #. type: Plain text
-#: build/C/man3/seekdir.3:46
+#: build/C/man3/seekdir.3:49
 msgid "B<seekdir>(): _BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE"
 msgstr "B<seekdir>(): _BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE"
 
 #. type: Plain text
-#: build/C/man3/seekdir.3:58
+#: build/C/man3/seekdir.3:60
 msgid ""
 "The B<seekdir>()  function sets the location in the directory stream from "
-"which the next B<readdir>(2)  call will start.  B<seekdir>()  should be used "
-"with an I<offset> returned by B<telldir>(3)."
+"which the next B<readdir>(2)  call will start.  The I<loc> argument should "
+"be a value returned by a previous call to B<telldir>(3)."
 msgstr ""
 "B<seekdir>()  関数は、次の B<readdir>(3)  呼び出しの開始位置である、 ディレク"
-"トリストリームの中での位置を設定する。 B<seekdir>()  は B<telldir>(3)  によっ"
-"て返される I<offset> とともに使用されるべきである。"
+"トリストリームの中での位置を設定する。 I<loc> 引き数には、それ以前の "
+"B<telldir>(3) の呼び出しで返された値を渡すべきである。"
 
 #. type: Plain text
-#: build/C/man3/seekdir.3:62
+#: build/C/man3/seekdir.3:64
 msgid "The B<seekdir>()  function returns no value."
 msgstr "B<seekdir>()  関数は、値を返さない。"
 
 #. type: Plain text
-#: build/C/man3/seekdir.3:64 build/C/man3/telldir.3:64
+#: build/C/man3/seekdir.3:69
+msgid "The B<seekdir>()  function is thread-safe."
+msgstr "B<seekdir>() 関数はスレッドセーフである。"
+
+#. type: Plain text
+#: build/C/man3/seekdir.3:71 build/C/man3/telldir.3:71
 msgid "4.3BSD, POSIX.1-2001."
 msgstr "4.3BSD, POSIX.1-2001."
 
 #. type: Plain text
-#: build/C/man3/seekdir.3:72
+#: build/C/man3/seekdir.3:83
 msgid ""
-"In glibc up to version 2.1.1, the type of the I<offset> argument was "
-"I<off_t>.  POSIX.1-2001 specifies I<long>, and this is the type used since "
-"glibc 2.1.2."
+"In glibc up to version 2.1.1, the type of the I<loc> argument was I<off_t>.  "
+"POSIX.1-2001 specifies I<long>, and this is the type used since glibc "
+"2.1.2.  See B<telldir>(3)  for information on why you should be careful in "
+"making any assumptions about the value in this argument."
 msgstr ""
-"バージョン 2.1.1 以前の glibc では、 I<offset> 引き数の型は I<off_t> であっ"
-"た。 POSIX.1-2001 では I<long> と規定されており、glibc 2.1.2 以降では "
-"I<long> になっている。"
+"バージョン 2.1.1 以前の glibc では、 I<loc> 引き数の型は I<off_t> であった。 "
+"POSIX.1-2001 では I<long> と規定されており、glibc 2.1.2 以降では I<long> に"
+"なっている。この引き数の値に前提を置く際には気を付けないといけない理由につい"
+"ては B<telldir>(3) を参照のこと。"
 
 #. type: Plain text
-#: build/C/man3/seekdir.3:79
+#: build/C/man3/seekdir.3:91
 msgid ""
 "B<lseek>(2), B<closedir>(3), B<opendir>(3), B<readdir>(3), B<rewinddir>(3), "
 "B<scandir>(3), B<telldir>(3)"
@@ -2011,29 +2091,29 @@ msgstr ""
 "B<scandir>(3), B<telldir>(3)"
 
 #. type: TH
-#: build/C/man3/telldir.3:28
+#: build/C/man3/telldir.3:30
 #, no-wrap
 msgid "TELLDIR"
 msgstr "TELLDIR"
 
 #. type: Plain text
-#: build/C/man3/telldir.3:31
+#: build/C/man3/telldir.3:33
 msgid "telldir - return current location in directory stream"
 msgstr "telldir - ディレクトリストリーム中の現在位置を返す"
 
 #. type: Plain text
-#: build/C/man3/telldir.3:36
+#: build/C/man3/telldir.3:38
 #, no-wrap
 msgid "B<long telldir(DIR *>I<dirp>B<);>\n"
 msgstr "B<long telldir(DIR *>I<dirp>B<);>\n"
 
 #. type: Plain text
-#: build/C/man3/telldir.3:45
+#: build/C/man3/telldir.3:47
 msgid "B<telldir>(): _BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE"
 msgstr "B<telldir>(): _BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE"
 
 #. type: Plain text
-#: build/C/man3/telldir.3:50
+#: build/C/man3/telldir.3:52
 msgid ""
 "The B<telldir>()  function returns the current location associated with the "
 "directory stream I<dirp>."
@@ -2042,7 +2122,7 @@ msgstr ""
 "置を返す。"
 
 #. type: Plain text
-#: build/C/man3/telldir.3:58
+#: build/C/man3/telldir.3:60
 msgid ""
 "On success, the B<telldir>()  function returns the current location in the "
 "directory stream.  On error, -1 is returned, and I<errno> is set "
@@ -2052,7 +2132,12 @@ msgstr ""
 "す。 エラーの場合、-1 が返されて、 I<errno> が適切に設定される。"
 
 #. type: Plain text
-#: build/C/man3/telldir.3:72
+#: build/C/man3/telldir.3:69
+msgid "The B<telldir>()  function is thread-safe."
+msgstr "B<telldir>() 関数はスレッドセーフである。"
+
+#. type: Plain text
+#: build/C/man3/telldir.3:79
 msgid ""
 "In glibc up to version 2.1.1, the return type of B<telldir>()  was "
 "I<off_t>.  POSIX.1-2001 specifies I<long>, and this is the type used since "
@@ -2062,45 +2147,32 @@ msgstr ""
 "あった。 POSIX.1-2001 では I<long> と規定されており、glibc 2.1.2 以降では "
 "I<long> になっている。"
 
+#.  https://lwn.net/Articles/544298/
 #. type: Plain text
-#: build/C/man3/telldir.3:78
-msgid ""
-"B<closedir>(3), B<opendir>(3), B<readdir>(3), B<rewinddir>(3), B<scandir>"
-"(3), B<seekdir>(3)"
-msgstr ""
-"B<closedir>(3), B<opendir>(3), B<readdir>(3), B<rewinddir>(3), B<scandir>"
-"(3), B<seekdir>(3)"
-
-#~ msgid "COLOPHON"
-#~ msgstr "この文書について"
-
-#, fuzzy
-#~| msgid ""
-#~| "This page is part of release 3.37 of the Linux I<man-pages> project.  A "
-#~| "description of the project, and information about reporting bugs, can be "
-#~| "found at http://www.kernel.org/doc/man-pages/."
-#~ msgid ""
-#~ "This page is part of release 3.38 of the Linux I<man-pages> project.  A "
-#~ "description of the project, and information about reporting bugs, can be "
-#~ "found at http://www.kernel.org/doc/man-pages/."
-#~ msgstr ""
-#~ "この man ページは Linux I<man-pages> プロジェクトのリリース 3.37 の一部で"
-#~ "ある。\n"
-#~ "プロジェクトの説明とバグ報告に関する情報は\n"
-#~ "http://www.kernel.org/doc/man-pages/ に書かれている。"
-
-#~ msgid "2011-09-08"
-#~ msgstr "2011-09-08"
-
-#~ msgid ""
-#~ "Currently, only some file systems (among them: Btrfs, ext2, ext3, and "
-#~ "ext4)  have full support returning the file type in I<d_type>.  All "
-#~ "applications must properly handle a return of B<DT_UNKNOWN>."
-#~ msgstr ""
-#~ "現在のところ、 I<d_type> でファイルタイプを返す機能が完全にサポートされて"
-#~ "いるのは、 いくつかのファイルシステムにおいてのみである (Btrfs, ext2, "
-#~ "ext3, ext4 はサポートしている)。 どのアプリケーションも、 B<DT_UNKNOWN> が"
-#~ "返された際に適切に処理できなければならない。"
-
-#~ msgid "2009-07-04"
-#~ msgstr "2009-07-04"
+#: build/C/man3/telldir.3:95
+msgid ""
+"In early filesystems, the value returned by B<telldir>()  was a simple file "
+"offset within a directory.  Modern filesystems use tree or hash structures, "
+"rather than flat tables, to represent directories.  On such filesystems, the "
+"value returned by B<telldir>()  (and used internally by B<readdir>(3))  is a "
+"\"cookie\" that is used by the implementation to derive a position within a "
+"directory.  Application programs should treat this strictly as an opaque "
+"value, making I<no> assumptions about its contents."
+msgstr ""
+"初期のファイルシステムでは、 B<telldir>() が返す値は単なるディレクトリ内の"
+"ファイルオフセットであった。新しめのファイルシステムでは、ディレクトリを表現"
+"するのに、フラットなテーブルではなく、ツリーやハッシュ構造が使用されている。"
+"このようなファイルシステムでは、 B<telldir>() が返す値 (および B<readdir>(3) "
+"が内部で使用する値) は、ディレクトリ内での値を示すのにファイルシステム実装が"
+"使っている \"cookie\" となる。アプリケーションプログラムでは、必ずこの値を内"
+"容を意識せず単なる値として扱うべきであり、その内容について前提を持つべきでは"
+"「ない」。"
+
+#. type: Plain text
+#: build/C/man3/telldir.3:102
+msgid ""
+"B<closedir>(3), B<opendir>(3), B<readdir>(3), B<rewinddir>(3), "
+"B<scandir>(3), B<seekdir>(3)"
+msgstr ""
+"B<closedir>(3), B<opendir>(3), B<readdir>(3), B<rewinddir>(3), "
+"B<scandir>(3), B<seekdir>(3)"