msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2014-04-24 00:50+0900\n"
+"POT-Creation-Date: 2014-06-03 01:29+0900\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
msgstr ""
#. type: SH
-#: build/C/man5/filesystems.5:32 build/C/man3/fts.3:61 build/C/man3/ftw.3:55 build/C/man3/getfsent.3:42 build/C/man3/getmntent.3:65 build/C/man2/getxattr.2:42 build/C/man2/listxattr.2:41 build/C/man2/mount.2:51 build/C/man7/path_resolution.7:28 build/C/man2/removexattr.2:39 build/C/man2/setxattr.2:42 build/C/man2/spu_create.2:40 build/C/man2/spu_run.2:39 build/C/man7/spufs.7:30 build/C/man2/stat.2:93 build/C/man2/statfs.2:37 build/C/man3/statvfs.3:39 build/C/man2/sysfs.2:36 build/C/man2/umount.2:41 build/C/man2/ustat.2:43
+#: build/C/man5/filesystems.5:32 build/C/man3/fts.3:61 build/C/man3/ftw.3:55 build/C/man3/getfsent.3:42 build/C/man3/getmntent.3:65 build/C/man2/getxattr.2:42 build/C/man2/listxattr.2:41 build/C/man2/mount.2:51 build/C/man7/path_resolution.7:28 build/C/man2/removexattr.2:39 build/C/man2/setxattr.2:42 build/C/man2/spu_create.2:40 build/C/man2/spu_run.2:39 build/C/man7/spufs.7:30 build/C/man2/stat.2:97 build/C/man2/statfs.2:37 build/C/man3/statvfs.3:39 build/C/man2/sysfs.2:36 build/C/man2/umount.2:41 build/C/man2/ustat.2:43
#, no-wrap
msgid "DESCRIPTION"
msgstr ""
msgstr ""
#. type: SH
-#: build/C/man5/filesystems.5:196 build/C/man3/fts.3:790 build/C/man3/ftw.3:420 build/C/man3/getfsent.3:139 build/C/man3/getmntent.3:219 build/C/man2/getxattr.2:141 build/C/man2/listxattr.2:153 build/C/man2/mount.2:482 build/C/man7/path_resolution.7:237 build/C/man2/removexattr.2:110 build/C/man2/setxattr.2:152 build/C/man2/spu_create.2:270 build/C/man2/spu_run.2:264 build/C/man7/spufs.7:766 build/C/man2/stat.2:845 build/C/man2/statfs.2:277 build/C/man3/statvfs.3:188 build/C/man2/umount.2:176 build/C/man2/ustat.2:118
+#: build/C/man5/filesystems.5:196 build/C/man3/fts.3:790 build/C/man3/ftw.3:420 build/C/man3/getfsent.3:139 build/C/man3/getmntent.3:219 build/C/man2/getxattr.2:141 build/C/man2/listxattr.2:153 build/C/man2/mount.2:482 build/C/man7/path_resolution.7:237 build/C/man2/removexattr.2:110 build/C/man2/setxattr.2:152 build/C/man2/spu_create.2:270 build/C/man2/spu_run.2:264 build/C/man7/spufs.7:766 build/C/man2/stat.2:920 build/C/man2/statfs.2:277 build/C/man3/statvfs.3:188 build/C/man2/umount.2:176 build/C/man2/ustat.2:118
#, no-wrap
msgid "SEE ALSO"
msgstr ""
msgstr ""
#. type: SH
-#: build/C/man5/filesystems.5:201 build/C/man3/fts.3:796 build/C/man3/ftw.3:424 build/C/man3/getfsent.3:142 build/C/man3/getmntent.3:223 build/C/man2/getxattr.2:151 build/C/man2/listxattr.2:163 build/C/man2/mount.2:489 build/C/man7/path_resolution.7:242 build/C/man2/removexattr.2:120 build/C/man2/setxattr.2:162 build/C/man2/spu_create.2:275 build/C/man2/spu_run.2:269 build/C/man7/spufs.7:773 build/C/man2/stat.2:855 build/C/man2/statfs.2:281 build/C/man3/statvfs.3:190 build/C/man2/sysfs.2:104 build/C/man2/umount.2:181 build/C/man2/ustat.2:121
+#: build/C/man5/filesystems.5:201 build/C/man3/fts.3:796 build/C/man3/ftw.3:424 build/C/man3/getfsent.3:142 build/C/man3/getmntent.3:223 build/C/man2/getxattr.2:151 build/C/man2/listxattr.2:163 build/C/man2/mount.2:489 build/C/man7/path_resolution.7:242 build/C/man2/removexattr.2:120 build/C/man2/setxattr.2:162 build/C/man2/spu_create.2:275 build/C/man2/spu_run.2:269 build/C/man7/spufs.7:773 build/C/man2/stat.2:930 build/C/man2/statfs.2:281 build/C/man3/statvfs.3:190 build/C/man2/sysfs.2:104 build/C/man2/umount.2:181 build/C/man2/ustat.2:121
#, no-wrap
msgid "COLOPHON"
msgstr ""
#. type: Plain text
-#: build/C/man5/filesystems.5:208 build/C/man3/fts.3:803 build/C/man3/ftw.3:431 build/C/man3/getfsent.3:149 build/C/man3/getmntent.3:230 build/C/man2/getxattr.2:158 build/C/man2/listxattr.2:170 build/C/man2/mount.2:496 build/C/man7/path_resolution.7:249 build/C/man2/removexattr.2:127 build/C/man2/setxattr.2:169 build/C/man2/spu_create.2:282 build/C/man2/spu_run.2:276 build/C/man7/spufs.7:780 build/C/man2/stat.2:862 build/C/man2/statfs.2:288 build/C/man3/statvfs.3:197 build/C/man2/sysfs.2:111 build/C/man2/umount.2:188 build/C/man2/ustat.2:128
+#: build/C/man5/filesystems.5:209 build/C/man3/fts.3:804 build/C/man3/ftw.3:432 build/C/man3/getfsent.3:150 build/C/man3/getmntent.3:231 build/C/man2/getxattr.2:159 build/C/man2/listxattr.2:171 build/C/man2/mount.2:497 build/C/man7/path_resolution.7:250 build/C/man2/removexattr.2:128 build/C/man2/setxattr.2:170 build/C/man2/spu_create.2:283 build/C/man2/spu_run.2:277 build/C/man7/spufs.7:781 build/C/man2/stat.2:938 build/C/man2/statfs.2:289 build/C/man3/statvfs.3:198 build/C/man2/sysfs.2:112 build/C/man2/umount.2:189 build/C/man2/ustat.2:129
msgid ""
-"This page is part of release 3.65 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/."
+"This page is part of release 3.67 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 ""
#. type: TH
msgstr ""
#. type: SH
-#: build/C/man3/fts.3:729 build/C/man2/getxattr.2:106 build/C/man2/listxattr.2:127 build/C/man2/mount.2:312 build/C/man2/removexattr.2:83 build/C/man2/setxattr.2:110 build/C/man2/spu_create.2:172 build/C/man2/spu_run.2:153 build/C/man2/stat.2:447 build/C/man2/statfs.2:134 build/C/man3/statvfs.3:101 build/C/man2/sysfs.2:79 build/C/man2/umount.2:104 build/C/man2/ustat.2:79
+#: build/C/man3/fts.3:729 build/C/man2/getxattr.2:106 build/C/man2/listxattr.2:127 build/C/man2/mount.2:312 build/C/man2/removexattr.2:83 build/C/man2/setxattr.2:110 build/C/man2/spu_create.2:172 build/C/man2/spu_run.2:153 build/C/man2/stat.2:522 build/C/man2/statfs.2:134 build/C/man3/statvfs.3:101 build/C/man2/sysfs.2:79 build/C/man2/umount.2:104 build/C/man2/ustat.2:79
#, no-wrap
msgid "ERRORS"
msgstr ""
msgstr ""
#. type: TP
-#: build/C/man3/fts.3:770 build/C/man2/mount.2:348 build/C/man2/spu_create.2:186 build/C/man2/spu_run.2:174 build/C/man2/stat.2:510 build/C/man2/sysfs.2:84 build/C/man2/umount.2:125 build/C/man2/umount.2:129 build/C/man2/ustat.2:84
+#: build/C/man3/fts.3:770 build/C/man2/mount.2:348 build/C/man2/spu_create.2:186 build/C/man2/spu_run.2:174 build/C/man2/stat.2:585 build/C/man2/sysfs.2:84 build/C/man2/umount.2:125 build/C/man2/umount.2:129 build/C/man2/ustat.2:84
#, no-wrap
msgid "B<EINVAL>"
msgstr ""
msgstr ""
#. type: SH
-#: build/C/man3/fts.3:773 build/C/man2/getxattr.2:130 build/C/man2/listxattr.2:142 build/C/man2/mount.2:406 build/C/man2/removexattr.2:99 build/C/man2/setxattr.2:141 build/C/man2/spu_create.2:246 build/C/man2/spu_run.2:188 build/C/man2/stat.2:520 build/C/man2/umount.2:156
+#: build/C/man3/fts.3:773 build/C/man2/getxattr.2:130 build/C/man2/listxattr.2:142 build/C/man2/mount.2:406 build/C/man2/removexattr.2:99 build/C/man2/setxattr.2:141 build/C/man2/spu_create.2:246 build/C/man2/spu_run.2:188 build/C/man2/stat.2:595 build/C/man2/umount.2:156
#, no-wrap
msgid "VERSIONS"
msgstr ""
msgstr ""
#. type: SH
-#: build/C/man3/fts.3:775 build/C/man3/ftw.3:335 build/C/man3/getfsent.3:115 build/C/man3/getmntent.3:201 build/C/man2/getxattr.2:133 build/C/man2/listxattr.2:145 build/C/man2/mount.2:417 build/C/man2/removexattr.2:102 build/C/man2/setxattr.2:144 build/C/man2/spu_create.2:250 build/C/man2/spu_run.2:192 build/C/man2/stat.2:524 build/C/man2/statfs.2:190 build/C/man3/statvfs.3:164 build/C/man2/sysfs.2:92 build/C/man2/umount.2:162 build/C/man2/ustat.2:94
+#: build/C/man3/fts.3:775 build/C/man3/ftw.3:335 build/C/man3/getfsent.3:115 build/C/man3/getmntent.3:201 build/C/man2/getxattr.2:133 build/C/man2/listxattr.2:145 build/C/man2/mount.2:417 build/C/man2/removexattr.2:102 build/C/man2/setxattr.2:144 build/C/man2/spu_create.2:250 build/C/man2/spu_run.2:192 build/C/man2/stat.2:599 build/C/man2/statfs.2:190 build/C/man3/statvfs.3:164 build/C/man2/sysfs.2:92 build/C/man2/umount.2:162 build/C/man2/ustat.2:94
#, no-wrap
msgid "CONFORMING TO"
msgstr ""
msgstr ""
#. type: SH
-#: build/C/man3/ftw.3:318 build/C/man3/getfsent.3:99 build/C/man3/getmntent.3:174 build/C/man2/getxattr.2:100 build/C/man2/listxattr.2:121 build/C/man2/mount.2:307 build/C/man2/removexattr.2:78 build/C/man2/setxattr.2:105 build/C/man2/spu_create.2:165 build/C/man2/spu_run.2:102 build/C/man2/stat.2:442 build/C/man2/statfs.2:129 build/C/man3/statvfs.3:96 build/C/man2/sysfs.2:67 build/C/man2/umount.2:99 build/C/man2/ustat.2:70
+#: build/C/man3/ftw.3:318 build/C/man3/getfsent.3:99 build/C/man3/getmntent.3:174 build/C/man2/getxattr.2:100 build/C/man2/listxattr.2:121 build/C/man2/mount.2:307 build/C/man2/removexattr.2:78 build/C/man2/setxattr.2:105 build/C/man2/spu_create.2:165 build/C/man2/spu_run.2:102 build/C/man2/stat.2:517 build/C/man2/statfs.2:129 build/C/man3/statvfs.3:96 build/C/man2/sysfs.2:67 build/C/man2/umount.2:99 build/C/man2/ustat.2:70
#, no-wrap
msgid "RETURN VALUE"
msgstr ""
msgstr ""
#. type: SH
-#: build/C/man3/ftw.3:340 build/C/man3/getfsent.3:127 build/C/man3/getmntent.3:207 build/C/man2/mount.2:420 build/C/man2/spu_create.2:254 build/C/man2/spu_run.2:196 build/C/man2/stat.2:668 build/C/man2/statfs.2:196 build/C/man3/statvfs.3:166 build/C/man2/sysfs.2:94 build/C/man2/umount.2:165 build/C/man2/ustat.2:98
+#: build/C/man3/ftw.3:340 build/C/man3/getfsent.3:127 build/C/man3/getmntent.3:207 build/C/man2/mount.2:420 build/C/man2/spu_create.2:254 build/C/man2/spu_run.2:196 build/C/man2/stat.2:743 build/C/man2/statfs.2:196 build/C/man3/statvfs.3:166 build/C/man2/sysfs.2:94 build/C/man2/umount.2:165 build/C/man2/ustat.2:98
#, no-wrap
msgid "NOTES"
msgstr ""
msgstr ""
#. type: SH
-#: build/C/man3/ftw.3:370 build/C/man2/spu_create.2:265 build/C/man2/spu_run.2:207 build/C/man7/spufs.7:759 build/C/man2/stat.2:780
+#: build/C/man3/ftw.3:370 build/C/man2/spu_create.2:265 build/C/man2/spu_run.2:207 build/C/man7/spufs.7:759 build/C/man2/stat.2:855
#, no-wrap
msgid "EXAMPLE"
msgstr ""
"struct fstab {\n"
" char *fs_spec; /* block device name */\n"
" char *fs_file; /* mount point */\n"
-" char *fs_vfstype; /* file-sysem type */\n"
+" char *fs_vfstype; /* file-system type */\n"
" char *fs_mntops; /* mount options */\n"
" const char *fs_type; /* rw/rq/ro/sw/xx option */\n"
" int fs_freq; /* dump frequency, in days */\n"
msgstr ""
#. type: Plain text
-#: build/C/man2/mount.2:312 build/C/man2/stat.2:447 build/C/man2/statfs.2:134 build/C/man3/statvfs.3:101 build/C/man2/umount.2:104
+#: build/C/man2/mount.2:312 build/C/man2/stat.2:522 build/C/man2/statfs.2:134 build/C/man3/statvfs.3:101 build/C/man2/umount.2:104
msgid ""
"On success, zero is returned. On error, -1 is returned, and I<errno> is set "
"appropriately."
msgstr ""
#. type: TP
-#: build/C/man2/mount.2:318 build/C/man2/spu_create.2:173 build/C/man2/stat.2:448 build/C/man2/statfs.2:135 build/C/man3/statvfs.3:102
+#: build/C/man2/mount.2:318 build/C/man2/spu_create.2:173 build/C/man2/stat.2:523 build/C/man2/statfs.2:135 build/C/man3/statvfs.3:102
#, no-wrap
msgid "B<EACCES>"
msgstr ""
msgstr ""
#. type: TP
-#: build/C/man2/mount.2:345 build/C/man2/spu_create.2:181 build/C/man2/spu_run.2:158 build/C/man2/stat.2:459 build/C/man2/statfs.2:147 build/C/man3/statvfs.3:114 build/C/man2/sysfs.2:80 build/C/man2/umount.2:121 build/C/man2/ustat.2:80
+#: build/C/man2/mount.2:345 build/C/man2/spu_create.2:181 build/C/man2/spu_run.2:158 build/C/man2/stat.2:534 build/C/man2/statfs.2:147 build/C/man3/statvfs.3:114 build/C/man2/sysfs.2:80 build/C/man2/umount.2:121 build/C/man2/ustat.2:80
#, no-wrap
msgid "B<EFAULT>"
msgstr ""
msgstr ""
#. type: TP
-#: build/C/man2/mount.2:363 build/C/man2/spu_create.2:192 build/C/man2/stat.2:462 build/C/man2/statfs.2:159 build/C/man3/statvfs.3:126
+#: build/C/man2/mount.2:363 build/C/man2/spu_create.2:192 build/C/man2/stat.2:537 build/C/man2/statfs.2:159 build/C/man3/statvfs.3:126
#, no-wrap
msgid "B<ELOOP>"
msgstr ""
msgstr ""
#. type: TP
-#: build/C/man2/mount.2:374 build/C/man2/spu_create.2:199 build/C/man2/stat.2:465 build/C/man2/statfs.2:164 build/C/man3/statvfs.3:131 build/C/man2/umount.2:143
+#: build/C/man2/mount.2:374 build/C/man2/spu_create.2:199 build/C/man2/stat.2:540 build/C/man2/statfs.2:164 build/C/man3/statvfs.3:131 build/C/man2/umount.2:143
#, no-wrap
msgid "B<ENAMETOOLONG>"
msgstr ""
msgstr ""
#. type: TP
-#: build/C/man2/mount.2:382 build/C/man2/spu_create.2:210 build/C/man2/stat.2:469 build/C/man2/statfs.2:169 build/C/man3/statvfs.3:136 build/C/man2/umount.2:147
+#: build/C/man2/mount.2:382 build/C/man2/spu_create.2:210 build/C/man2/stat.2:544 build/C/man2/statfs.2:169 build/C/man3/statvfs.3:136 build/C/man2/umount.2:147
#, no-wrap
msgid "B<ENOENT>"
msgstr ""
msgstr ""
#. type: TP
-#: build/C/man2/mount.2:385 build/C/man2/spu_create.2:215 build/C/man2/spu_run.2:179 build/C/man2/stat.2:476 build/C/man2/statfs.2:175 build/C/man3/statvfs.3:142 build/C/man2/umount.2:150
+#: build/C/man2/mount.2:385 build/C/man2/spu_create.2:215 build/C/man2/spu_run.2:179 build/C/man2/stat.2:551 build/C/man2/statfs.2:175 build/C/man3/statvfs.3:142 build/C/man2/umount.2:150
#, no-wrap
msgid "B<ENOMEM>"
msgstr ""
msgstr ""
#. type: TP
-#: build/C/man2/mount.2:392 build/C/man2/spu_create.2:228 build/C/man2/stat.2:479 build/C/man2/stat.2:514 build/C/man2/statfs.2:181 build/C/man3/statvfs.3:148
+#: build/C/man2/mount.2:392 build/C/man2/spu_create.2:228 build/C/man2/stat.2:554 build/C/man2/stat.2:589 build/C/man2/statfs.2:181 build/C/man3/statvfs.3:148
#, no-wrap
msgid "B<ENOTDIR>"
msgstr ""
msgid ""
"If a pathname ends in a \\(aq/\\(aq, that forces resolution of the preceding "
"component as in Step 2: it has to exist and resolve to a directory. "
-"Otherwise a trailing \\(aq/\\(aq is ignored. (Or, equivalently, a pathname "
+"Otherwise, a trailing \\(aq/\\(aq is ignored. (Or, equivalently, a pathname "
"with a trailing \\(aq/\\(aq is equivalent to the pathname obtained by "
"appending \\(aq.\\(aq to it.)"
msgstr ""
msgstr ""
#. type: Plain text
-#: build/C/man2/spu_create.2:203 build/C/man2/stat.2:469
+#: build/C/man2/spu_create.2:203 build/C/man2/stat.2:544
msgid "I<pathname> is too long."
msgstr ""
msgstr ""
#. type: TP
-#: build/C/man2/spu_run.2:154 build/C/man2/stat.2:455 build/C/man2/stat.2:506 build/C/man2/statfs.2:142 build/C/man3/statvfs.3:109
+#: build/C/man2/spu_run.2:154 build/C/man2/stat.2:530 build/C/man2/stat.2:581 build/C/man2/statfs.2:142 build/C/man3/statvfs.3:109
#, no-wrap
msgid "B<EBADF>"
msgstr ""
msgstr ""
#. type: Plain text
-#: build/C/man2/spu_run.2:261 build/C/man2/stat.2:844
+#: build/C/man2/spu_run.2:261 build/C/man2/stat.2:919
#, no-wrap
msgid ""
" exit(EXIT_SUCCESS);\n"
#. type: TH
#: build/C/man2/stat.2:40
#, no-wrap
-msgid "2014-03-19"
+msgid "2014-05-10"
msgstr ""
#. type: Plain text
msgstr ""
#. type: Plain text
-#: build/C/man2/stat.2:76
-msgid ""
-"_BSD_SOURCE || _XOPEN_SOURCE\\ E<gt>=\\ 500 || _XOPEN_SOURCE\\ &&\\ "
-"_XOPEN_SOURCE_EXTENDED"
+#: build/C/man2/stat.2:75
+msgid "/* glibc 2.19 and earlier */ _BSD_SOURCE ||"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man2/stat.2:77
+msgid "/* Since glibc 2.20 */_DEFAULT_SOURCE ||"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man2/stat.2:80
+msgid "_XOPEN_SOURCE\\ E<gt>=\\ 500 || _XOPEN_SOURCE\\ &&\\ _XOPEN_SOURCE_EXTENDED"
msgstr ""
#. type: Plain text
-#: build/C/man2/stat.2:78
+#: build/C/man2/stat.2:82
msgid "|| /* Since glibc 2.10: */ _POSIX_C_SOURCE\\ E<gt>=\\ 200112L"
msgstr ""
#. type: Plain text
-#: build/C/man2/stat.2:81
+#: build/C/man2/stat.2:85
msgid "B<fstatat>():"
msgstr ""
#. type: TP
-#: build/C/man2/stat.2:84
+#: build/C/man2/stat.2:88
#, no-wrap
msgid "Since glibc 2.10:"
msgstr ""
#. type: Plain text
-#: build/C/man2/stat.2:87
+#: build/C/man2/stat.2:91
msgid "_XOPEN_SOURCE\\ E<gt>=\\ 700 || _POSIX_C_SOURCE\\ E<gt>=\\ 200809L"
msgstr ""
#. type: TP
-#: build/C/man2/stat.2:87
+#: build/C/man2/stat.2:91
#, no-wrap
msgid "Before glibc 2.10:"
msgstr ""
#. type: Plain text
-#: build/C/man2/stat.2:90
+#: build/C/man2/stat.2:94
msgid "_ATFILE_SOURCE"
msgstr ""
#. type: Plain text
-#: build/C/man2/stat.2:105
+#: build/C/man2/stat.2:109
msgid ""
"These functions return information about a file, in the buffer pointed to by "
"I<stat>. No permissions are required on the file itself, but\\(emin the "
msgstr ""
#. type: Plain text
-#: build/C/man2/stat.2:114
+#: build/C/man2/stat.2:118
msgid ""
"B<stat>() and B<fstatat>() retrieve information about the file pointed to "
"by I<pathname>; the differences for B<fstatat>() are described below."
msgstr ""
#. type: Plain text
-#: build/C/man2/stat.2:122
+#: build/C/man2/stat.2:126
msgid ""
"B<lstat>() is identical to B<stat>(), except that if I<pathname> is a "
"symbolic link, then it returns information about the link itself, not the "
msgstr ""
#. type: Plain text
-#: build/C/man2/stat.2:129
+#: build/C/man2/stat.2:133
msgid ""
"B<fstat>() is identical to B<stat>(), except that the file about which "
"information is to be retrieved is specified by the file descriptor I<fd>."
msgstr ""
#. type: Plain text
-#: build/C/man2/stat.2:133
+#: build/C/man2/stat.2:137
msgid ""
"All of these system calls return a I<stat> structure, which contains the "
"following fields:"
msgstr ""
#. type: Plain text
-#: build/C/man2/stat.2:147
+#: build/C/man2/stat.2:151
#, no-wrap
msgid ""
"struct stat {\n"
msgstr ""
#. type: Plain text
-#: build/C/man2/stat.2:151
+#: build/C/man2/stat.2:155
#, no-wrap
msgid ""
" /* Since Linux 2.6, the kernel supports nanosecond\n"
msgstr ""
#. type: Plain text
-#: build/C/man2/stat.2:155
+#: build/C/man2/stat.2:159
#, no-wrap
msgid ""
" struct timespec st_atim; /* time of last access */\n"
msgstr ""
#. type: Plain text
-#: build/C/man2/stat.2:160
+#: build/C/man2/stat.2:164
#, no-wrap
msgid ""
"#define st_atime st_atim.tv_sec /* Backward compatibility */\n"
msgstr ""
#. type: Plain text
-#: build/C/man2/stat.2:173
+#: build/C/man2/stat.2:177
msgid ""
"I<Note:> the order of fields in the I<stat> structure varies somewhat across "
"architectures. In addition, the definition above does not show the padding "
msgstr ""
#. type: Plain text
-#: build/C/man2/stat.2:182
+#: build/C/man2/stat.2:186
msgid ""
"The I<st_dev> field describes the device on which this file resides. (The "
"B<major>(3) and B<minor>(3) macros may be useful to decompose the device "
msgstr ""
#. type: Plain text
-#: build/C/man2/stat.2:186
+#: build/C/man2/stat.2:190
msgid "The I<st_rdev> field describes the device that this file (inode) represents."
msgstr ""
#. type: Plain text
-#: build/C/man2/stat.2:193
+#: build/C/man2/stat.2:197
msgid ""
"The I<st_size> field gives the size of the file (if it is a regular file or "
"a symbolic link) in bytes. The size of a symbolic link is the length of the "
msgstr ""
#. type: Plain text
-#: build/C/man2/stat.2:200
+#: build/C/man2/stat.2:204
msgid ""
"The I<st_blocks> field indicates the number of blocks allocated to the file, "
"512-byte units. (This may be smaller than I<st_size>/512 when the file has "
msgstr ""
#. type: Plain text
-#: build/C/man2/stat.2:206
+#: build/C/man2/stat.2:210
msgid ""
"The I<st_blksize> field gives the \"preferred\" blocksize for efficient "
"filesystem I/O. (Writing to a file in smaller chunks may cause an "
msgstr ""
#. type: Plain text
-#: build/C/man2/stat.2:227
+#: build/C/man2/stat.2:231
msgid ""
"Not all of the Linux filesystems implement all of the time fields. Some "
"filesystem types allow mounting in such a way that file and/or directory "
msgstr ""
#. type: Plain text
-#: build/C/man2/stat.2:242
+#: build/C/man2/stat.2:246
msgid ""
"The field I<st_atime> is changed by file accesses, for example, by "
"B<execve>(2), B<mknod>(2), B<pipe>(2), B<utime>(2) and B<read>(2) (of more "
msgstr ""
#. type: Plain text
-#: build/C/man2/stat.2:261
+#: build/C/man2/stat.2:265
msgid ""
"The field I<st_mtime> is changed by file modifications, for example, by "
"B<mknod>(2), B<truncate>(2), B<utime>(2) and B<write>(2) (of more than "
msgstr ""
#. type: Plain text
-#: build/C/man2/stat.2:266
+#: build/C/man2/stat.2:270
msgid ""
"The field I<st_ctime> is changed by writing or by setting inode information "
"(i.e., owner, group, link count, mode, etc.)."
msgstr ""
#. type: Plain text
-#: build/C/man2/stat.2:270
+#: build/C/man2/stat.2:274
msgid ""
-"The following POSIX macros are defined to check the file type using the "
+"The following mask values are defined for the file type component of the "
"I<st_mode> field:"
msgstr ""
+#. type: tbl table
+#: build/C/man2/stat.2:277
+#, no-wrap
+msgid "S_IFMT\t0170000\tbit mask for the file type bit fields\n"
+msgstr ""
+
+#. type: tbl table
+#: build/C/man2/stat.2:279
+#, no-wrap
+msgid "S_IFSOCK\t0140000\tsocket\n"
+msgstr ""
+
+#. type: tbl table
+#: build/C/man2/stat.2:280
+#, no-wrap
+msgid "S_IFLNK\t0120000\tsymbolic link\n"
+msgstr ""
+
+#. type: tbl table
+#: build/C/man2/stat.2:281
+#, no-wrap
+msgid "S_IFREG\t0100000\tregular file\n"
+msgstr ""
+
+#. type: tbl table
+#: build/C/man2/stat.2:282
+#, no-wrap
+msgid "S_IFBLK\t0060000\tblock device\n"
+msgstr ""
+
+#. type: tbl table
+#: build/C/man2/stat.2:283
+#, no-wrap
+msgid "S_IFDIR\t0040000\tdirectory\n"
+msgstr ""
+
+#. type: tbl table
+#: build/C/man2/stat.2:284
+#, no-wrap
+msgid "S_IFCHR\t0020000\tcharacter device\n"
+msgstr ""
+
+#. type: tbl table
+#: build/C/man2/stat.2:285
+#, no-wrap
+msgid "S_IFIFO\t0010000\tFIFO\n"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man2/stat.2:290
+msgid "Thus, to test for a regular file (for example), one could write:"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man2/stat.2:297
+#, no-wrap
+msgid ""
+"stat(pathname, &sb);\n"
+"if ((sb.st_mode & S_IFMT) == S_IFREG) {\n"
+" /* Handle regular file */\n"
+"}\n"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man2/stat.2:304
+msgid ""
+"Because tests of the above form are common, additional macros are defined by "
+"POSIX to allow the test of the file type in I<st_mode> to be written more "
+"concisely:"
+msgstr ""
+
#. type: TP
-#: build/C/man2/stat.2:271
+#: build/C/man2/stat.2:305
#, no-wrap
msgid "B<S_ISREG>(m)"
msgstr ""
#. type: Plain text
-#: build/C/man2/stat.2:274
+#: build/C/man2/stat.2:308
msgid "is it a regular file?"
msgstr ""
#. type: TP
-#: build/C/man2/stat.2:274
+#: build/C/man2/stat.2:308
#, no-wrap
msgid "B<S_ISDIR>(m)"
msgstr ""
#. type: Plain text
-#: build/C/man2/stat.2:277
+#: build/C/man2/stat.2:311
msgid "directory?"
msgstr ""
#. type: TP
-#: build/C/man2/stat.2:277
+#: build/C/man2/stat.2:311
#, no-wrap
msgid "B<S_ISCHR>(m)"
msgstr ""
#. type: Plain text
-#: build/C/man2/stat.2:280
+#: build/C/man2/stat.2:314
msgid "character device?"
msgstr ""
#. type: TP
-#: build/C/man2/stat.2:280
+#: build/C/man2/stat.2:314
#, no-wrap
msgid "B<S_ISBLK>(m)"
msgstr ""
#. type: Plain text
-#: build/C/man2/stat.2:283
+#: build/C/man2/stat.2:317
msgid "block device?"
msgstr ""
#. type: TP
-#: build/C/man2/stat.2:283
+#: build/C/man2/stat.2:317
#, no-wrap
msgid "B<S_ISFIFO>(m)"
msgstr ""
#. type: Plain text
-#: build/C/man2/stat.2:286
+#: build/C/man2/stat.2:320
msgid "FIFO (named pipe)?"
msgstr ""
#. type: TP
-#: build/C/man2/stat.2:286
+#: build/C/man2/stat.2:320
#, no-wrap
msgid "B<S_ISLNK>(m)"
msgstr ""
#. type: Plain text
-#: build/C/man2/stat.2:289
+#: build/C/man2/stat.2:323
msgid "symbolic link? (Not in POSIX.1-1996.)"
msgstr ""
#. type: TP
-#: build/C/man2/stat.2:289
+#: build/C/man2/stat.2:323
#, no-wrap
msgid "B<S_ISSOCK>(m)"
msgstr ""
#. type: Plain text
-#: build/C/man2/stat.2:292
+#: build/C/man2/stat.2:326
msgid "socket? (Not in POSIX.1-1996.)"
msgstr ""
#. type: Plain text
-#: build/C/man2/stat.2:297
-msgid "The following flags are defined for the I<st_mode> field:"
-msgstr ""
-
-#. type: tbl table
-#: build/C/man2/stat.2:300
-#, no-wrap
-msgid "S_IFMT\t0170000\tbit mask for the file type bit fields\n"
-msgstr ""
-
-#. type: tbl table
-#: build/C/man2/stat.2:301
-#, no-wrap
-msgid "S_IFSOCK\t0140000\tsocket\n"
-msgstr ""
-
-#. type: tbl table
-#: build/C/man2/stat.2:302
-#, no-wrap
-msgid "S_IFLNK\t0120000\tsymbolic link\n"
-msgstr ""
-
-#. type: tbl table
-#: build/C/man2/stat.2:303
-#, no-wrap
-msgid "S_IFREG\t0100000\tregular file\n"
+#: build/C/man2/stat.2:329
+msgid "The preceding code snippet could thus be rewritten as:"
msgstr ""
-#. type: tbl table
-#: build/C/man2/stat.2:304
+#. type: Plain text
+#: build/C/man2/stat.2:336
#, no-wrap
-msgid "S_IFBLK\t0060000\tblock device\n"
+msgid ""
+"stat(pathname, &sb);\n"
+"if (S_ISREG(sb.st_mode)) {\n"
+" /* Handle regular file */\n"
+"}\n"
msgstr ""
-#. type: tbl table
-#: build/C/man2/stat.2:305
-#, no-wrap
-msgid "S_IFDIR\t0040000\tdirectory\n"
+#. type: Plain text
+#: build/C/man2/stat.2:360
+msgid ""
+"The definitions of most of the above file type test macros are provided if "
+"any of the following feature test macros are defined: B<_BSD_SOURCE> (in "
+"glibc 2.19 and earlier), B<_SVID_SOURCE> (in glibc 2.19 and earlier), or "
+"B<_DEFAULT_SOURCE> (in glibc 2.20 and later). In addition, definitions of "
+"all of the above macros except B<S_IFSOCK> and B<S_ISSOCK>() are provided "
+"if B<_XOPEN_SOURCE> is defined. The definition of B<S_IFSOCK> can also be "
+"exposed by defining B<_XOPEN_SOURCE> with a value of 500 or greater."
msgstr ""
-#. type: tbl table
-#: build/C/man2/stat.2:306
-#, no-wrap
-msgid "S_IFCHR\t0020000\tcharacter device\n"
+#. type: Plain text
+#: build/C/man2/stat.2:372
+msgid ""
+"The definition of B<S_ISSOCK>() is exposed if any of the following feature "
+"test macros is defined: B<_BSD_SOURCE> (in glibc 2.19 and earlier), "
+"B<_DEFAULT_SOURCE> (in glibc 2.20 and later), B<_XOPEN_SOURCE> with a value "
+"of 500 or greater, or B<_POSIX_C_SOURCE> with a value of 200112L or greater."
msgstr ""
-#. type: tbl table
-#: build/C/man2/stat.2:307
-#, no-wrap
-msgid "S_IFIFO\t0010000\tFIFO\n"
+#. type: Plain text
+#: build/C/man2/stat.2:377
+msgid ""
+"The following mask values are defined for the file permissions component of "
+"the I<st_mode> field:"
msgstr ""
#. type: tbl table
-#: build/C/man2/stat.2:308
+#: build/C/man2/stat.2:380
#, no-wrap
msgid "S_ISUID\t0004000\tset-user-ID bit\n"
msgstr ""
#. type: tbl table
-#: build/C/man2/stat.2:309
+#: build/C/man2/stat.2:381
#, no-wrap
msgid "S_ISGID\t0002000\tset-group-ID bit (see below)\n"
msgstr ""
#. type: tbl table
-#: build/C/man2/stat.2:310
+#: build/C/man2/stat.2:382
#, no-wrap
msgid "S_ISVTX\t0001000\tsticky bit (see below)\n"
msgstr ""
#. type: tbl table
-#: build/C/man2/stat.2:311
+#: build/C/man2/stat.2:384
#, no-wrap
-msgid "S_IRWXU\t00700\tmask for file owner permissions\n"
+msgid "S_IRWXU\t 00700\tmask for file owner permissions\n"
msgstr ""
#. type: tbl table
-#: build/C/man2/stat.2:312
+#: build/C/man2/stat.2:385
#, no-wrap
-msgid "S_IRUSR\t00400\towner has read permission\n"
+msgid "S_IRUSR\t 00400\towner has read permission\n"
msgstr ""
#. type: tbl table
-#: build/C/man2/stat.2:313
+#: build/C/man2/stat.2:386
#, no-wrap
-msgid "S_IWUSR\t00200\towner has write permission\n"
+msgid "S_IWUSR\t 00200\towner has write permission\n"
msgstr ""
#. type: tbl table
-#: build/C/man2/stat.2:314
+#: build/C/man2/stat.2:387
#, no-wrap
-msgid "S_IXUSR\t00100\towner has execute permission\n"
+msgid "S_IXUSR\t 00100\towner has execute permission\n"
msgstr ""
#. type: tbl table
-#: build/C/man2/stat.2:315
+#: build/C/man2/stat.2:389
#, no-wrap
-msgid "S_IRWXG\t00070\tmask for group permissions\n"
+msgid "S_IRWXG\t 00070\tmask for group permissions\n"
msgstr ""
#. type: tbl table
-#: build/C/man2/stat.2:316
+#: build/C/man2/stat.2:390
#, no-wrap
-msgid "S_IRGRP\t00040\tgroup has read permission\n"
+msgid "S_IRGRP\t 00040\tgroup has read permission\n"
msgstr ""
#. type: tbl table
-#: build/C/man2/stat.2:317
+#: build/C/man2/stat.2:391
#, no-wrap
-msgid "S_IWGRP\t00020\tgroup has write permission\n"
+msgid "S_IWGRP\t 00020\tgroup has write permission\n"
msgstr ""
#. type: tbl table
-#: build/C/man2/stat.2:318
+#: build/C/man2/stat.2:392
#, no-wrap
-msgid "S_IXGRP\t00010\tgroup has execute permission\n"
+msgid "S_IXGRP\t 00010\tgroup has execute permission\n"
msgstr ""
#. type: tbl table
-#: build/C/man2/stat.2:319
+#: build/C/man2/stat.2:394
#, no-wrap
-msgid "S_IRWXO\t00007\tT{\n"
+msgid "S_IRWXO\t 00007\tT{\n"
msgstr ""
#. type: tbl table
-#: build/C/man2/stat.2:320
+#: build/C/man2/stat.2:395
#, no-wrap
msgid "mask for permissions for others (not in group)\n"
msgstr ""
#. type: tbl table
-#: build/C/man2/stat.2:321 build/C/man2/stat.2:620 build/C/man2/stat.2:628 build/C/man2/stat.2:639 build/C/man2/stat.2:651 build/C/man2/stat.2:656 build/C/man2/stat.2:659 build/C/man2/stat.2:663
+#: build/C/man2/stat.2:396 build/C/man2/stat.2:695 build/C/man2/stat.2:703 build/C/man2/stat.2:714 build/C/man2/stat.2:726 build/C/man2/stat.2:731 build/C/man2/stat.2:734 build/C/man2/stat.2:738
#, no-wrap
msgid "T}\n"
msgstr ""
#. type: tbl table
-#: build/C/man2/stat.2:322
+#: build/C/man2/stat.2:397
#, no-wrap
-msgid "S_IROTH\t00004\tothers have read permission\n"
+msgid "S_IROTH\t 00004\tothers have read permission\n"
msgstr ""
#. type: tbl table
-#: build/C/man2/stat.2:323
+#: build/C/man2/stat.2:398
#, no-wrap
-msgid "S_IWOTH\t00002\tothers have write permission\n"
+msgid "S_IWOTH\t 00002\tothers have write permission\n"
msgstr ""
#. type: tbl table
-#: build/C/man2/stat.2:324
+#: build/C/man2/stat.2:399
#, no-wrap
-msgid "S_IXOTH\t00001\tothers have execute permission\n"
+msgid "S_IXOTH\t 00001\tothers have execute permission\n"
msgstr ""
#. type: Plain text
-#: build/C/man2/stat.2:341
+#: build/C/man2/stat.2:416
msgid ""
"The set-group-ID bit (B<S_ISGID>) has several special uses. For a "
-"directory it indicates that BSD semantics is to be used for that directory: "
+"directory, it indicates that BSD semantics is to be used for that directory: "
"files created there inherit their group ID from the directory, not from the "
"effective group ID of the creating process, and directories created there "
"will also get the B<S_ISGID> bit set. For a file that does not have the "
msgstr ""
#. type: Plain text
-#: build/C/man2/stat.2:350
+#: build/C/man2/stat.2:425
msgid ""
"The sticky bit (B<S_ISVTX>) on a directory means that a file in that "
"directory can be renamed or deleted only by the owner of the file, by the "
msgstr ""
#. type: SS
-#: build/C/man2/stat.2:350
+#: build/C/man2/stat.2:425
#, no-wrap
msgid "fstatat()"
msgstr ""
#. type: Plain text
-#: build/C/man2/stat.2:356
+#: build/C/man2/stat.2:431
msgid ""
"The B<fstatat>() system call operates in exactly the same way as B<stat>(), "
"except for the differences described here."
msgstr ""
#. type: Plain text
-#: build/C/man2/stat.2:366
+#: build/C/man2/stat.2:441
msgid ""
"If the pathname given in I<pathname> is relative, then it is interpreted "
"relative to the directory referred to by the file descriptor I<dirfd> "
msgstr ""
#. type: Plain text
-#: build/C/man2/stat.2:378
+#: build/C/man2/stat.2:453
msgid ""
"If I<pathname> is relative and I<dirfd> is the special value B<AT_FDCWD>, "
"then I<pathname> is interpreted relative to the current working directory of "
msgstr ""
#. type: Plain text
-#: build/C/man2/stat.2:384
+#: build/C/man2/stat.2:459
msgid "If I<pathname> is absolute, then I<dirfd> is ignored."
msgstr ""
#. type: Plain text
-#: build/C/man2/stat.2:387
+#: build/C/man2/stat.2:462
msgid ""
"I<flags> can either be 0, or include one or more of the following flags "
"ORed:"
msgstr ""
#. type: TP
-#: build/C/man2/stat.2:387
+#: build/C/man2/stat.2:462
#, no-wrap
msgid "B<AT_EMPTY_PATH> (since Linux 2.6.39)"
msgstr ""
#. commit 65cfc6722361570bfe255698d9cd4dccaf47570d
#. Before glibc 2.16, defining _ATFILE_SOURCE sufficed
#. type: Plain text
-#: build/C/man2/stat.2:410
+#: build/C/man2/stat.2:485
msgid ""
"If I<pathname> is an empty string, operate on the file referred to by "
"I<dirfd> (which may have been obtained using the B<open>(2) B<O_PATH> "
msgstr ""
#. type: TP
-#: build/C/man2/stat.2:410
+#: build/C/man2/stat.2:485
#, no-wrap
msgid "B<AT_NO_AUTOMOUNT> (since Linux 2.6.38)"
msgstr ""
#. Before glibc 2.16, defining _ATFILE_SOURCE sufficed
#. type: Plain text
-#: build/C/man2/stat.2:426
+#: build/C/man2/stat.2:501
msgid ""
"Don't automount the terminal (\"basename\") component of I<pathname> if it "
"is a directory that is an automount point. This allows the caller to gather "
msgstr ""
#. type: TP
-#: build/C/man2/stat.2:426
+#: build/C/man2/stat.2:501
#, no-wrap
msgid "B<AT_SYMLINK_NOFOLLOW>"
msgstr ""
#. type: Plain text
-#: build/C/man2/stat.2:437
+#: build/C/man2/stat.2:512
msgid ""
"If I<pathname> is a symbolic link, do not dereference it: instead return "
"information about the link itself, like B<lstat>(). (By default, "
msgstr ""
#. type: Plain text
-#: build/C/man2/stat.2:442
+#: build/C/man2/stat.2:517
msgid "See B<openat>(2) for an explanation of the need for B<fstatat>()."
msgstr ""
#. type: Plain text
-#: build/C/man2/stat.2:455
+#: build/C/man2/stat.2:530
msgid ""
"Search permission is denied for one of the directories in the path prefix of "
"I<pathname>. (See also B<path_resolution>(7).)"
msgstr ""
#. type: Plain text
-#: build/C/man2/stat.2:459
+#: build/C/man2/stat.2:534
msgid "I<fd> is bad."
msgstr ""
#. type: Plain text
-#: build/C/man2/stat.2:462
+#: build/C/man2/stat.2:537
msgid "Bad address."
msgstr ""
#. type: Plain text
-#: build/C/man2/stat.2:465
+#: build/C/man2/stat.2:540
msgid "Too many symbolic links encountered while traversing the path."
msgstr ""
#. type: Plain text
-#: build/C/man2/stat.2:476
+#: build/C/man2/stat.2:551
msgid ""
"A component of I<pathname> does not exist, or I<pathname> is an empty "
"string."
msgstr ""
#. type: Plain text
-#: build/C/man2/stat.2:479
+#: build/C/man2/stat.2:554
msgid "Out of memory (i.e., kernel memory)."
msgstr ""
#. type: Plain text
-#: build/C/man2/stat.2:484
+#: build/C/man2/stat.2:559
msgid "A component of the path prefix of I<pathname> is not a directory."
msgstr ""
#. type: TP
-#: build/C/man2/stat.2:484 build/C/man2/statfs.2:187 build/C/man3/statvfs.3:154
+#: build/C/man2/stat.2:559 build/C/man2/statfs.2:187 build/C/man3/statvfs.3:154
#, no-wrap
msgid "B<EOVERFLOW>"
msgstr ""
#. type: Plain text
-#: build/C/man2/stat.2:503
+#: build/C/man2/stat.2:578
msgid ""
"I<pathname> or I<fd> refers to a file whose size, inode number, or number of "
"blocks cannot be represented in, respectively, the types I<off_t>, I<ino_t>, "
msgstr ""
#. type: Plain text
-#: build/C/man2/stat.2:506
+#: build/C/man2/stat.2:581
msgid "The following additional errors can occur for B<fstatat>():"
msgstr ""
#. type: Plain text
-#: build/C/man2/stat.2:510
+#: build/C/man2/stat.2:585
msgid "I<dirfd> is not a valid file descriptor."
msgstr ""
#. type: Plain text
-#: build/C/man2/stat.2:514
+#: build/C/man2/stat.2:589
msgid "Invalid flag specified in I<flags>."
msgstr ""
#. type: Plain text
-#: build/C/man2/stat.2:520
+#: build/C/man2/stat.2:595
msgid ""
"I<pathname> is relative and I<dirfd> is a file descriptor referring to a "
"file other than a directory."
msgstr ""
#. type: Plain text
-#: build/C/man2/stat.2:524
+#: build/C/man2/stat.2:599
msgid ""
"B<fstatat>() was added to Linux in kernel 2.6.16; library support was added "
"to glibc in version 2.4."
#. .BR lstat ()
#. error conditions EINTR, EMULTIHOP, ENOLINK, and EOVERFLOW.
#. type: Plain text
-#: build/C/man2/stat.2:537
+#: build/C/man2/stat.2:612
msgid "B<stat>(), B<fstat>(), B<lstat>(): SVr4, 4.3BSD, POSIX.1-2001, POSIX.1.2008."
msgstr ""
#. type: Plain text
-#: build/C/man2/stat.2:540
+#: build/C/man2/stat.2:615
msgid "B<fstatat>(): POSIX.1-2008."
msgstr ""
#. type: Plain text
-#: build/C/man2/stat.2:554
+#: build/C/man2/stat.2:629
msgid ""
"According to POSIX.1-2001, B<lstat>() on a symbolic link need return valid "
"information only in the I<st_size> field and the file-type component of the "
msgstr ""
#. type: Plain text
-#: build/C/man2/stat.2:574
+#: build/C/man2/stat.2:649
msgid ""
"Use of the I<st_blocks> and I<st_blksize> fields may be less portable. "
"(They were introduced in BSD. The interpretation differs between systems, "
msgstr ""
#. type: Plain text
-#: build/C/man2/stat.2:592
+#: build/C/man2/stat.2:667
msgid ""
"POSIX.1-1990 did not describe the B<S_IFMT>, B<S_IFSOCK>, B<S_IFLNK>, "
"B<S_IFREG>, B<S_IFBLK>, B<S_IFDIR>, B<S_IFCHR>, B<S_IFIFO>, B<S_ISVTX> "
msgstr ""
#. type: Plain text
-#: build/C/man2/stat.2:600
+#: build/C/man2/stat.2:675
msgid ""
"The B<S_ISLNK>() and B<S_ISSOCK>() macros are not in POSIX.1-1996, but "
"both are present in POSIX.1-2001; the former is from SVID 4, the latter from "
msgstr ""
#. type: Plain text
-#: build/C/man2/stat.2:610
+#: build/C/man2/stat.2:685
msgid ""
-"UNIX V7 (and later systems) had B<S_IREAD>, B<S_IWRITE>, B<S_IEXEC>, where "
+"UNIX\\ V7 (and later systems) had B<S_IREAD>, B<S_IWRITE>, B<S_IEXEC>, where "
"POSIX prescribes the synonyms B<S_IRUSR>, B<S_IWUSR>, B<S_IXUSR>."
msgstr ""
#. type: SS
-#: build/C/man2/stat.2:610
+#: build/C/man2/stat.2:685
#, no-wrap
msgid "Other systems"
msgstr ""
#. type: Plain text
-#: build/C/man2/stat.2:612
+#: build/C/man2/stat.2:687
msgid "Values that have been (or are) in use on various systems:"
msgstr ""
#. type: tbl table
-#: build/C/man2/stat.2:615
+#: build/C/man2/stat.2:690
#, no-wrap
msgid "hex\tname\tls\toctal\tdescription\n"
msgstr ""
#. type: tbl table
-#: build/C/man2/stat.2:616
+#: build/C/man2/stat.2:691
#, no-wrap
msgid "f000\tS_IFMT\t\t170000\tmask for file type\n"
msgstr ""
#. type: tbl table
-#: build/C/man2/stat.2:617
+#: build/C/man2/stat.2:692
#, no-wrap
msgid "0000\t\t\t000000\tT{\n"
msgstr ""
#. type: tbl table
-#: build/C/man2/stat.2:618
+#: build/C/man2/stat.2:693
#, no-wrap
msgid "SCO out-of-service inode; BSD unknown type; SVID-v2 and XPG2\n"
msgstr ""
#. type: tbl table
-#: build/C/man2/stat.2:619
+#: build/C/man2/stat.2:694
#, no-wrap
msgid "have both 0 and 0100000 for ordinary file\n"
msgstr ""
#. type: tbl table
-#: build/C/man2/stat.2:621
+#: build/C/man2/stat.2:696
#, no-wrap
msgid "1000\tS_IFIFO\tp|\t010000\tFIFO (named pipe)\n"
msgstr ""
#. type: tbl table
-#: build/C/man2/stat.2:622
+#: build/C/man2/stat.2:697
#, no-wrap
msgid "2000\tS_IFCHR\tc\t020000\tcharacter special (V7)\n"
msgstr ""
#. type: tbl table
-#: build/C/man2/stat.2:623
+#: build/C/man2/stat.2:698
#, no-wrap
msgid "3000\tS_IFMPC\t\t030000\tmultiplexed character special (V7)\n"
msgstr ""
#. type: tbl table
-#: build/C/man2/stat.2:624
+#: build/C/man2/stat.2:699
#, no-wrap
msgid "4000\tS_IFDIR\td/\t040000\tdirectory (V7)\n"
msgstr ""
#. type: tbl table
-#: build/C/man2/stat.2:625
+#: build/C/man2/stat.2:700
#, no-wrap
msgid "5000\tS_IFNAM\t\t050000\tT{\n"
msgstr ""
#. type: tbl table
-#: build/C/man2/stat.2:626
+#: build/C/man2/stat.2:701
#, no-wrap
msgid "XENIX named special file with two subtypes, distinguished by\n"
msgstr ""
#. type: tbl table
-#: build/C/man2/stat.2:627
+#: build/C/man2/stat.2:702
#, no-wrap
msgid "I<st_rdev> values 1, 2\n"
msgstr ""
#. type: tbl table
-#: build/C/man2/stat.2:629
+#: build/C/man2/stat.2:704
#, no-wrap
msgid "0001\tS_INSEM\ts\t000001\tXENIX semaphore subtype of IFNAM\n"
msgstr ""
#. type: tbl table
-#: build/C/man2/stat.2:630
+#: build/C/man2/stat.2:705
#, no-wrap
msgid "0002\tS_INSHD\tm\t000002\tXENIX shared data subtype of IFNAM\n"
msgstr ""
#. type: tbl table
-#: build/C/man2/stat.2:631
+#: build/C/man2/stat.2:706
#, no-wrap
msgid "6000\tS_IFBLK\tb\t060000\tblock special (V7)\n"
msgstr ""
#. type: tbl table
-#: build/C/man2/stat.2:632
+#: build/C/man2/stat.2:707
#, no-wrap
msgid "7000\tS_IFMPB\t\t070000\tmultiplexed block special (V7)\n"
msgstr ""
#. type: tbl table
-#: build/C/man2/stat.2:633
+#: build/C/man2/stat.2:708
#, no-wrap
msgid "8000\tS_IFREG\t-\t100000\tregular (V7)\n"
msgstr ""
#. type: tbl table
-#: build/C/man2/stat.2:634
+#: build/C/man2/stat.2:709
#, no-wrap
msgid "9000\tS_IFCMP\t\t110000\tVxFS compressed\n"
msgstr ""
#. type: tbl table
-#: build/C/man2/stat.2:635
+#: build/C/man2/stat.2:710
#, no-wrap
msgid "9000\tS_IFNWK\tn\t110000\tnetwork special (HP-UX)\n"
msgstr ""
#. type: tbl table
-#: build/C/man2/stat.2:636
+#: build/C/man2/stat.2:711
#, no-wrap
msgid "a000\tS_IFLNK\tl@\t120000\tsymbolic link (BSD)\n"
msgstr ""
#. type: tbl table
-#: build/C/man2/stat.2:637
+#: build/C/man2/stat.2:712
#, no-wrap
msgid "b000\tS_IFSHAD\t\t130000\tT{\n"
msgstr ""
#. type: tbl table
-#: build/C/man2/stat.2:638
+#: build/C/man2/stat.2:713
#, no-wrap
msgid "Solaris shadow inode for ACL (not seen by user space)\n"
msgstr ""
#. type: tbl table
-#: build/C/man2/stat.2:640
+#: build/C/man2/stat.2:715
#, no-wrap
msgid "c000\tS_IFSOCK\ts=\t140000\tsocket (BSD; also \"S_IFSOC\" on VxFS)\n"
msgstr ""
#. type: tbl table
-#: build/C/man2/stat.2:641
+#: build/C/man2/stat.2:716
#, no-wrap
msgid "d000\tS_IFDOOR\tDE<gt>\t150000\tSolaris door\n"
msgstr ""
#. type: tbl table
-#: build/C/man2/stat.2:642
+#: build/C/man2/stat.2:717
#, no-wrap
msgid "e000\tS_IFWHT\tw%\t160000\tBSD whiteout (not used for inode)\n"
msgstr ""
#. type: tbl table
-#: build/C/man2/stat.2:643
+#: build/C/man2/stat.2:718
#, no-wrap
msgid "0200\tS_ISVTX\t\t001000\tT{\n"
msgstr ""
#. type: tbl table
-#: build/C/man2/stat.2:644
+#: build/C/man2/stat.2:719
#, no-wrap
msgid "sticky bit: save swapped text even after use (V7)\n"
msgstr ""
#. type: tbl table
-#: build/C/man2/stat.2:645 build/C/man2/stat.2:647 build/C/man2/stat.2:649 build/C/man2/stat.2:654
+#: build/C/man2/stat.2:720 build/C/man2/stat.2:722 build/C/man2/stat.2:724 build/C/man2/stat.2:729
#, no-wrap
msgid ".br\n"
msgstr ""
#. type: tbl table
-#: build/C/man2/stat.2:646
+#: build/C/man2/stat.2:721
#, no-wrap
msgid "reserved (SVID-v2)\n"
msgstr ""
#. type: tbl table
-#: build/C/man2/stat.2:648
+#: build/C/man2/stat.2:723
#, no-wrap
msgid "On nondirectories: don't cache this file (SunOS)\n"
msgstr ""
#. type: tbl table
-#: build/C/man2/stat.2:650
+#: build/C/man2/stat.2:725
#, no-wrap
msgid "On directories: restricted deletion flag (SVID-v4.2)\n"
msgstr ""
#. type: tbl table
-#: build/C/man2/stat.2:652
+#: build/C/man2/stat.2:727
#, no-wrap
msgid "0400\tS_ISGID\t\t002000\tT{\n"
msgstr ""
#. type: tbl table
-#: build/C/man2/stat.2:653
+#: build/C/man2/stat.2:728
#, no-wrap
msgid "set-group-ID on execution (V7)\n"
msgstr ""
#. type: tbl table
-#: build/C/man2/stat.2:655
+#: build/C/man2/stat.2:730
#, no-wrap
msgid "for directories: use BSD semantics for propagation of GID\n"
msgstr ""
#. type: tbl table
-#: build/C/man2/stat.2:657
+#: build/C/man2/stat.2:732
#, no-wrap
msgid "0400\tS_ENFMT\t\t002000\tT{\n"
msgstr ""
#. type: tbl table
-#: build/C/man2/stat.2:658
+#: build/C/man2/stat.2:733
#, no-wrap
msgid "System V file locking enforcement (shared with S_ISGID)\n"
msgstr ""
#. type: tbl table
-#: build/C/man2/stat.2:660
+#: build/C/man2/stat.2:735
#, no-wrap
msgid "0800\tS_ISUID\t\t004000\tset-user-ID on execution (V7)\n"
msgstr ""
#. type: tbl table
-#: build/C/man2/stat.2:661
+#: build/C/man2/stat.2:736
#, no-wrap
msgid "0800\tS_CDF\t\t004000\tT{\n"
msgstr ""
#. type: tbl table
-#: build/C/man2/stat.2:662
+#: build/C/man2/stat.2:737
#, no-wrap
msgid "directory is a context dependent file (HP-UX)\n"
msgstr ""
#. type: Plain text
-#: build/C/man2/stat.2:668
+#: build/C/man2/stat.2:743
msgid "A sticky command appeared in Version 32V AT&T UNIX."
msgstr ""
#. type: Plain text
-#: build/C/man2/stat.2:675
+#: build/C/man2/stat.2:750
msgid ""
"On Linux, B<lstat>() will generally not trigger automounter action, whereas "
"B<stat>() will (but see B<fstatat>(2))."
msgstr ""
#. type: Plain text
-#: build/C/man2/stat.2:683
+#: build/C/man2/stat.2:758
msgid ""
"For most files under the I</proc> directory, B<stat>() does not return the "
"file size in the I<st_size> field; instead the field is returned with the "
msgstr ""
#. type: SS
-#: build/C/man2/stat.2:683
+#: build/C/man2/stat.2:758
#, no-wrap
msgid "Timestamp fields"
msgstr ""
#. type: Plain text
-#: build/C/man2/stat.2:694
+#: build/C/man2/stat.2:769
msgid ""
"Older kernels and older standards did not support nanosecond timestamp "
"fields. Instead, there were three timestamp fields\\(emI<st_atime>, "
msgstr ""
#. type: Plain text
-#: build/C/man2/stat.2:716
+#: build/C/man2/stat.2:791
msgid ""
"Since kernel 2.5.48, the I<stat> structure supports nanosecond resolution "
"for the three file timestamp fields. The nanosecond components of each "
#. commit ef7f38359ea8b3e9c7f2cae9a4d4935f55ca9e80
#. type: Plain text
-#: build/C/man2/stat.2:723
+#: build/C/man2/stat.2:798
msgid ""
"Nanosecond timestamps are supported on XFS, JFS, Btrfs, and ext4 (since "
"Linux 2.6.23). Nanosecond timestamps are not supported in ext2, ext3, and "
-"Resierfs. On filesystems that do not support subsecond timestamps, the "
+"Reiserfs. On filesystems that do not support subsecond timestamps, the "
"nanosecond fields are returned with the value 0."
msgstr ""
#. type: SS
-#: build/C/man2/stat.2:723
+#: build/C/man2/stat.2:798
#, no-wrap
msgid "Underlying kernel interface"
msgstr ""
#
#. (Note that the details depend on gcc being used as c compiler.)
#. type: Plain text
-#: build/C/man2/stat.2:775
+#: build/C/man2/stat.2:850
msgid ""
"Over time, increases in the size of the I<stat> structure have led to three "
"successive versions of B<stat>(): I<sys_stat>() (slot I<__NR_oldstat>), "
msgstr ""
#. type: Plain text
-#: build/C/man2/stat.2:780
+#: build/C/man2/stat.2:855
msgid ""
"The underlying system call employed by the glibc B<fstatat>() wrapper "
"function is actually called B<fstatat64>()."
msgstr ""
#. type: Plain text
-#: build/C/man2/stat.2:786
+#: build/C/man2/stat.2:861
msgid ""
"The following program calls B<stat>() and displays selected fields in the "
"returned I<stat> structure."
msgstr ""
#. type: Plain text
-#: build/C/man2/stat.2:793
+#: build/C/man2/stat.2:868
#, no-wrap
msgid ""
"#include E<lt>sys/types.hE<gt>\n"
msgstr ""
#. type: Plain text
-#: build/C/man2/stat.2:798
+#: build/C/man2/stat.2:873
#, no-wrap
msgid ""
"int\n"
msgstr ""
#. type: Plain text
-#: build/C/man2/stat.2:803
+#: build/C/man2/stat.2:878
#, no-wrap
msgid ""
" if (argc != 2) {\n"
msgstr ""
#. type: Plain text
-#: build/C/man2/stat.2:808
+#: build/C/man2/stat.2:883
#, no-wrap
msgid ""
" if (stat(argv[1], &sb) == -1) {\n"
msgstr ""
#. type: Plain text
-#: build/C/man2/stat.2:810
+#: build/C/man2/stat.2:885
#, no-wrap
msgid " printf(\"File type: \");\n"
msgstr ""
#. type: Plain text
-#: build/C/man2/stat.2:821
+#: build/C/man2/stat.2:896
#, no-wrap
msgid ""
" switch (sb.st_mode & S_IFMT) {\n"
msgstr ""
#. type: Plain text
-#: build/C/man2/stat.2:823
+#: build/C/man2/stat.2:898
#, no-wrap
msgid " printf(\"I-node number: %ld\\en\", (long) sb.st_ino);\n"
msgstr ""
#. type: Plain text
-#: build/C/man2/stat.2:826
+#: build/C/man2/stat.2:901
#, no-wrap
msgid ""
" printf(\"Mode: %lo (octal)\\en\",\n"
msgstr ""
#. type: Plain text
-#: build/C/man2/stat.2:830
+#: build/C/man2/stat.2:905
#, no-wrap
msgid ""
" printf(\"Link count: %ld\\en\", (long) sb.st_nlink);\n"
msgstr ""
#. type: Plain text
-#: build/C/man2/stat.2:837
+#: build/C/man2/stat.2:912
#, no-wrap
msgid ""
" printf(\"Preferred I/O block size: %ld bytes\\en\",\n"
msgstr ""
#. type: Plain text
-#: build/C/man2/stat.2:841
+#: build/C/man2/stat.2:916
#, no-wrap
msgid ""
" printf(\"Last status change: %s\", ctime(&sb.st_ctime));\n"
msgstr ""
#. type: Plain text
-#: build/C/man2/stat.2:855
+#: build/C/man2/stat.2:930
msgid ""
"B<ls>(1), B<stat>(1), B<access>(2), B<chmod>(2), B<chown>(2), "
"B<readlink>(2), B<utime>(2), B<capabilities>(7), B<symlink>(7)"
msgid ""
"The original B<umount>() function was called as I<umount(device)> and would "
"return B<ENOTBLK> when called with something other than a block device. In "
-"Linux 0.98p4 a call I<umount(dir)> was added, in order to support anonymous "
-"devices. In Linux 2.3.99-pre7 the call I<umount(device)> was removed, "
+"Linux 0.98p4, a call I<umount(dir)> was added, in order to support anonymous "
+"devices. In Linux 2.3.99-pre7, the call I<umount(device)> was removed, "
"leaving only I<umount(dir)> (since now devices can be mounted in more than "
"one place, so specifying the device does not suffice)."
msgstr ""