1 # SOME DESCRIPTIVE TITLE
2 # Copyright (C) YEAR Free Software Foundation, Inc.
3 # This file is distributed under the same license as the PACKAGE package.
4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
9 "Project-Id-Version: PACKAGE VERSION\n"
10 "POT-Creation-Date: 2012-05-01 04:38+0900\n"
11 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13 "Language-Team: LANGUAGE <LL@li.org>\n"
16 "Content-Type: text/plain; charset=CHARSET\n"
17 "Content-Transfer-Encoding: 8bit\n"
20 #: build/C/man2/faccessat.2:26
26 #: build/C/man2/faccessat.2:26
32 #: build/C/man2/faccessat.2:26 build/C/man2/fchmodat.2:26 build/C/man2/fchownat.2:26 build/C/man2/fstatat.2:25 build/C/man2/futimesat.2:26 build/C/man2/linkat.2:27 build/C/man2/mkdirat.2:26 build/C/man3/mkfifoat.3:26 build/C/man2/mknodat.2:26 build/C/man2/openat.2:26 build/C/man2/readlinkat.2:26 build/C/man2/renameat.2:26 build/C/man2/symlinkat.2:26 build/C/man2/unlinkat.2:26
38 #: build/C/man2/faccessat.2:26 build/C/man2/fchmodat.2:26 build/C/man2/fchownat.2:26 build/C/man2/fstatat.2:25 build/C/man2/futimesat.2:26 build/C/man2/linkat.2:27 build/C/man2/mkdirat.2:26 build/C/man3/mkfifoat.3:26 build/C/man2/mknodat.2:26 build/C/man2/openat.2:26 build/C/man2/readlinkat.2:26 build/C/man2/renameat.2:26 build/C/man2/symlinkat.2:26 build/C/man2/unlinkat.2:26
40 msgid "Linux Programmer's Manual"
44 #: build/C/man2/faccessat.2:27 build/C/man2/fchmodat.2:27 build/C/man2/fchownat.2:27 build/C/man2/fstatat.2:26 build/C/man2/futimesat.2:27 build/C/man2/linkat.2:28 build/C/man2/mkdirat.2:27 build/C/man3/mkfifoat.3:27 build/C/man2/mknodat.2:27 build/C/man2/openat.2:27 build/C/man2/readlinkat.2:27 build/C/man2/renameat.2:27 build/C/man2/symlinkat.2:27 build/C/man2/unlinkat.2:27
50 #: build/C/man2/faccessat.2:30
52 "faccessat - check user's permissions of a file relative to a directory file "
57 #: build/C/man2/faccessat.2:30 build/C/man2/fchmodat.2:30 build/C/man2/fchownat.2:30 build/C/man2/fstatat.2:28 build/C/man2/futimesat.2:30 build/C/man2/linkat.2:30 build/C/man2/mkdirat.2:29 build/C/man3/mkfifoat.3:29 build/C/man2/mknodat.2:30 build/C/man2/openat.2:29 build/C/man2/readlinkat.2:30 build/C/man2/renameat.2:29 build/C/man2/symlinkat.2:29 build/C/man2/unlinkat.2:29
63 #: build/C/man2/faccessat.2:34 build/C/man2/fchownat.2:34 build/C/man2/linkat.2:34 build/C/man2/readlinkat.2:34 build/C/man2/symlinkat.2:33 build/C/man2/unlinkat.2:33
66 "B<#include E<lt>fcntl.hE<gt> /* Definition of AT_* constants */>\n"
67 "B<#include E<lt>unistd.hE<gt>>\n"
71 #: build/C/man2/faccessat.2:37
74 "B<int faccessat(int >I<dirfd>B<, const char *>I<pathname>B<, int >I<mode>B<, "
75 "int >I<flags>B<);>\n"
79 #: build/C/man2/faccessat.2:42 build/C/man2/fchmodat.2:42 build/C/man2/fchownat.2:42 build/C/man2/fstatat.2:41 build/C/man2/futimesat.2:42 build/C/man2/linkat.2:42 build/C/man2/mkdirat.2:40 build/C/man3/mkfifoat.3:40 build/C/man2/mknodat.2:42 build/C/man2/openat.2:41 build/C/man2/readlinkat.2:42 build/C/man2/renameat.2:41 build/C/man2/symlinkat.2:41 build/C/man2/unlinkat.2:40
80 msgid "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
84 #: build/C/man2/faccessat.2:45
85 msgid "B<faccessat>():"
89 #: build/C/man2/faccessat.2:48 build/C/man2/fchmodat.2:48 build/C/man2/fchownat.2:48 build/C/man2/fstatat.2:47 build/C/man2/linkat.2:48 build/C/man2/mkdirat.2:46 build/C/man3/mkfifoat.3:46 build/C/man2/mknodat.2:48 build/C/man2/openat.2:47 build/C/man2/readlinkat.2:48 build/C/man2/renameat.2:47 build/C/man2/symlinkat.2:47 build/C/man2/unlinkat.2:46
91 msgid "Since glibc 2.10:"
95 #: build/C/man2/faccessat.2:51 build/C/man2/fchmodat.2:51 build/C/man2/fchownat.2:51 build/C/man2/fstatat.2:50 build/C/man2/linkat.2:51 build/C/man2/mkdirat.2:49 build/C/man3/mkfifoat.3:49 build/C/man2/openat.2:50 build/C/man2/readlinkat.2:51 build/C/man2/renameat.2:50 build/C/man2/symlinkat.2:50 build/C/man2/unlinkat.2:49
96 msgid "_XOPEN_SOURCE\\ E<gt>=\\ 700 || _POSIX_C_SOURCE\\ E<gt>=\\ 200809L"
100 #: build/C/man2/faccessat.2:51 build/C/man2/fchmodat.2:51 build/C/man2/fchownat.2:51 build/C/man2/fstatat.2:50 build/C/man2/linkat.2:51 build/C/man2/mkdirat.2:49 build/C/man3/mkfifoat.3:49 build/C/man2/mknodat.2:53 build/C/man2/openat.2:50 build/C/man2/readlinkat.2:51 build/C/man2/renameat.2:50 build/C/man2/symlinkat.2:50 build/C/man2/unlinkat.2:49
102 msgid "Before glibc 2.10:"
106 #: build/C/man2/faccessat.2:54 build/C/man2/fchmodat.2:54 build/C/man2/fchownat.2:54 build/C/man2/fstatat.2:53 build/C/man2/linkat.2:54 build/C/man2/mkdirat.2:52 build/C/man3/mkfifoat.3:52 build/C/man2/mknodat.2:56 build/C/man2/openat.2:53 build/C/man2/readlinkat.2:54 build/C/man2/renameat.2:53 build/C/man2/symlinkat.2:53 build/C/man2/unlinkat.2:52
107 msgid "_ATFILE_SOURCE"
111 #: build/C/man2/faccessat.2:57 build/C/man2/fchmodat.2:57 build/C/man2/fchownat.2:57 build/C/man2/fstatat.2:56 build/C/man2/futimesat.2:46 build/C/man2/linkat.2:57 build/C/man2/mkdirat.2:55 build/C/man3/mkfifoat.3:55 build/C/man2/mknodat.2:59 build/C/man2/openat.2:56 build/C/man2/readlinkat.2:57 build/C/man2/renameat.2:56 build/C/man2/symlinkat.2:56 build/C/man2/unlinkat.2:55
117 #: build/C/man2/faccessat.2:63
119 "The B<faccessat>() system call operates in exactly the same way as "
120 "B<access>(2), except for the differences described in this manual page."
124 #: build/C/man2/faccessat.2:73
126 "If the pathname given in I<pathname> is relative, then it is interpreted "
127 "relative to the directory referred to by the file descriptor I<dirfd> "
128 "(rather than relative to the current working directory of the calling "
129 "process, as is done by B<access>(2) for a relative pathname)."
133 #: build/C/man2/faccessat.2:85
135 "If I<pathname> is relative and I<dirfd> is the special value B<AT_FDCWD>, "
136 "then I<pathname> is interpreted relative to the current working directory of "
137 "the calling process (like B<access>(2))."
141 #: build/C/man2/faccessat.2:91 build/C/man2/fchmodat.2:91 build/C/man2/fchownat.2:91 build/C/man2/fstatat.2:90 build/C/man2/futimesat.2:85 build/C/man2/mkdirat.2:89 build/C/man3/mkfifoat.3:89 build/C/man2/mknodat.2:93 build/C/man2/openat.2:90 build/C/man2/readlinkat.2:91
142 msgid "If I<pathname> is absolute, then I<dirfd> is ignored."
146 #: build/C/man2/faccessat.2:94
148 "I<flags> is constructed by ORing together zero or more of the following "
153 #: build/C/man2/faccessat.2:94
155 msgid "B<AT_EACCESS>"
159 #: build/C/man2/faccessat.2:101
161 "Perform access checks using the effective user and group IDs. By default, "
162 "B<faccessat>() uses the real IDs (like B<access>(2))."
166 #: build/C/man2/faccessat.2:101 build/C/man2/fchmodat.2:94 build/C/man2/fchownat.2:94 build/C/man2/fstatat.2:105
168 msgid "B<AT_SYMLINK_NOFOLLOW>"
172 #: build/C/man2/faccessat.2:107
174 "If I<pathname> is a symbolic link, do not dereference it: instead return "
175 "information about the link itself."
179 #: build/C/man2/faccessat.2:107 build/C/man2/fchmodat.2:101 build/C/man2/fchownat.2:105 build/C/man2/fstatat.2:116 build/C/man2/futimesat.2:85 build/C/man2/linkat.2:116 build/C/man2/mkdirat.2:89 build/C/man3/mkfifoat.3:89 build/C/man2/mknodat.2:93 build/C/man2/openat.2:90 build/C/man2/readlinkat.2:91 build/C/man2/renameat.2:98 build/C/man2/symlinkat.2:90 build/C/man2/unlinkat.2:121
185 #: build/C/man2/faccessat.2:114
187 "On success, (all requested permissions granted) B<faccessat>() returns 0. "
188 "On error, -1 is returned and I<errno> is set to indicate the error."
192 #: build/C/man2/faccessat.2:114 build/C/man2/fchmodat.2:108 build/C/man2/fchownat.2:112 build/C/man2/fstatat.2:123 build/C/man2/futimesat.2:92 build/C/man2/linkat.2:123 build/C/man2/mkdirat.2:96 build/C/man3/mkfifoat.3:96 build/C/man2/mknodat.2:100 build/C/man2/openat.2:97 build/C/man2/readlinkat.2:99 build/C/man2/renameat.2:105 build/C/man2/symlinkat.2:97 build/C/man2/unlinkat.2:128
198 #: build/C/man2/faccessat.2:121
200 "The same errors that occur for B<access>(2) can also occur for "
201 "B<faccessat>(). The following additional errors can occur for "
206 #: build/C/man2/faccessat.2:121 build/C/man2/fchmodat.2:115 build/C/man2/fchownat.2:119 build/C/man2/fstatat.2:130 build/C/man2/futimesat.2:99 build/C/man2/linkat.2:130 build/C/man2/mkdirat.2:103 build/C/man3/mkfifoat.3:103 build/C/man2/mknodat.2:107 build/C/man2/openat.2:104 build/C/man2/readlinkat.2:106 build/C/man2/renameat.2:112 build/C/man2/symlinkat.2:104 build/C/man2/unlinkat.2:137
212 #: build/C/man2/faccessat.2:125 build/C/man2/fchmodat.2:119 build/C/man2/fchownat.2:123 build/C/man2/fstatat.2:134 build/C/man2/futimesat.2:103 build/C/man2/mkdirat.2:107 build/C/man3/mkfifoat.3:107 build/C/man2/mknodat.2:111 build/C/man2/openat.2:108 build/C/man2/readlinkat.2:110 build/C/man2/unlinkat.2:141
213 msgid "I<dirfd> is not a valid file descriptor."
217 #: build/C/man2/faccessat.2:125 build/C/man2/fchmodat.2:119 build/C/man2/fchownat.2:123 build/C/man2/fstatat.2:134 build/C/man2/unlinkat.2:141
223 #: build/C/man2/faccessat.2:129 build/C/man2/fchmodat.2:123 build/C/man2/fchownat.2:127 build/C/man2/fstatat.2:138
224 msgid "Invalid flag specified in I<flags>."
228 #: build/C/man2/faccessat.2:129 build/C/man2/fchmodat.2:123 build/C/man2/fchownat.2:127 build/C/man2/fstatat.2:138 build/C/man2/futimesat.2:103 build/C/man2/linkat.2:136 build/C/man2/mkdirat.2:107 build/C/man3/mkfifoat.3:107 build/C/man2/mknodat.2:111 build/C/man2/openat.2:108 build/C/man2/readlinkat.2:110 build/C/man2/renameat.2:118 build/C/man2/symlinkat.2:108 build/C/man2/unlinkat.2:145
234 #: build/C/man2/faccessat.2:135 build/C/man2/fchmodat.2:129 build/C/man2/fchownat.2:133 build/C/man2/fstatat.2:144 build/C/man2/futimesat.2:109 build/C/man2/mkdirat.2:113 build/C/man2/mknodat.2:117 build/C/man2/openat.2:114 build/C/man2/readlinkat.2:116 build/C/man2/unlinkat.2:151
236 "I<pathname> is relative and I<dirfd> is a file descriptor referring to a "
237 "file other than a directory."
241 #: build/C/man2/faccessat.2:135 build/C/man2/fchmodat.2:135 build/C/man2/fchownat.2:133 build/C/man2/fstatat.2:144 build/C/man2/futimesat.2:109 build/C/man2/linkat.2:146 build/C/man2/mkdirat.2:113 build/C/man3/mkfifoat.3:113 build/C/man2/mknodat.2:117 build/C/man2/openat.2:114 build/C/man2/readlinkat.2:116 build/C/man2/renameat.2:128 build/C/man2/symlinkat.2:114 build/C/man2/unlinkat.2:151
247 #: build/C/man2/faccessat.2:138
248 msgid "B<faccessat>() was added to Linux in kernel 2.6.16."
252 #: build/C/man2/faccessat.2:138 build/C/man2/fchmodat.2:138 build/C/man2/fchownat.2:136 build/C/man2/fstatat.2:147 build/C/man2/futimesat.2:112 build/C/man2/linkat.2:149 build/C/man2/mkdirat.2:116 build/C/man3/mkfifoat.3:119 build/C/man2/mknodat.2:120 build/C/man2/openat.2:117 build/C/man2/readlinkat.2:119 build/C/man2/renameat.2:131 build/C/man2/symlinkat.2:117 build/C/man2/unlinkat.2:154
254 msgid "CONFORMING TO"
258 #: build/C/man2/faccessat.2:140 build/C/man2/fchmodat.2:140 build/C/man2/linkat.2:151 build/C/man2/mkdirat.2:118 build/C/man3/mkfifoat.3:121 build/C/man2/mknodat.2:122 build/C/man2/readlinkat.2:121 build/C/man2/renameat.2:133 build/C/man2/symlinkat.2:119
259 msgid "POSIX.1-2008."
263 #: build/C/man2/faccessat.2:140 build/C/man2/fchmodat.2:140 build/C/man2/fchownat.2:139 build/C/man2/fstatat.2:150 build/C/man2/futimesat.2:119 build/C/man2/linkat.2:151 build/C/man2/mkdirat.2:118 build/C/man3/mkfifoat.3:121 build/C/man2/mknodat.2:122 build/C/man2/openat.2:132 build/C/man2/readlinkat.2:121 build/C/man2/renameat.2:133 build/C/man2/symlinkat.2:119 build/C/man2/unlinkat.2:157
269 #: build/C/man2/faccessat.2:145
270 msgid "See B<openat>(2) for an explanation of the need for B<faccessat>()."
274 #: build/C/man2/faccessat.2:152
276 "I<Warning>: B<faccessat>() is subject to the same kinds of races as "
277 "B<access>(2) and B<euidaccess>(3)."
281 #: build/C/man2/faccessat.2:152 build/C/man2/futimesat.2:120
287 #: build/C/man2/faccessat.2:162
289 "The B<AT_EACCESS> and B<AT_SYMLINK_NOFOLLOW> flags are actually implemented "
290 "within the glibc wrapper function for B<faccessat>(). If either of these "
291 "flags are specified, then the wrapper function employs B<fstatat>(2) to "
292 "determine access permissions."
296 #: build/C/man2/faccessat.2:162 build/C/man2/fchmodat.2:153 build/C/man2/fchownat.2:144 build/C/man2/fstatat.2:160 build/C/man2/futimesat.2:128 build/C/man2/linkat.2:156 build/C/man2/mkdirat.2:123 build/C/man3/mkfifoat.3:126 build/C/man2/mknodat.2:127 build/C/man2/openat.2:163 build/C/man2/readlinkat.2:126 build/C/man2/renameat.2:138 build/C/man2/symlinkat.2:124 build/C/man2/unlinkat.2:162
302 #: build/C/man2/faccessat.2:169
304 "B<access>(2), B<openat>(2), B<euidaccess>(3), B<credentials>(7), "
305 "B<path_resolution>(7), B<symlink>(7)"
309 #: build/C/man2/faccessat.2:169 build/C/man2/fchmodat.2:158 build/C/man2/fchownat.2:149 build/C/man2/fstatat.2:165 build/C/man2/futimesat.2:134 build/C/man2/linkat.2:161 build/C/man2/mkdirat.2:127 build/C/man3/mkfifoat.3:130 build/C/man2/mknodat.2:131 build/C/man2/openat.2:180 build/C/man2/readlinkat.2:130 build/C/man2/renameat.2:142 build/C/man2/symlinkat.2:129 build/C/man2/unlinkat.2:167
315 #: build/C/man2/faccessat.2:176 build/C/man2/fchmodat.2:165 build/C/man2/fchownat.2:156 build/C/man2/fstatat.2:172 build/C/man2/futimesat.2:141 build/C/man2/linkat.2:168 build/C/man2/mkdirat.2:134 build/C/man3/mkfifoat.3:137 build/C/man2/mknodat.2:138 build/C/man2/openat.2:187 build/C/man2/readlinkat.2:137 build/C/man2/renameat.2:149 build/C/man2/symlinkat.2:136 build/C/man2/unlinkat.2:174
317 "This page is part of release 3.40 of the Linux I<man-pages> project. A "
318 "description of the project, and information about reporting bugs, can be "
319 "found at http://www.kernel.org/doc/man-pages/."
323 #: build/C/man2/fchmodat.2:26
329 #: build/C/man2/fchmodat.2:26
335 #: build/C/man2/fchmodat.2:30
337 "fchmodat - change permissions of a file relative to a directory file "
342 #: build/C/man2/fchmodat.2:34
345 "B<#include>E<lt>fcntl.hE<gt>B< /* Definition of AT_* constants "
347 "B<#include E<lt>sys/stat.hE<gt>>\n"
351 #: build/C/man2/fchmodat.2:37
354 "B<int fchmodat(int >I<dirfd>B<, const char *>I<pathname>B<, mode_t "
355 ">I<mode>B<, int >I<flags>B<);>\n"
359 #: build/C/man2/fchmodat.2:45
360 msgid "B<fchmodat>():"
364 #: build/C/man2/fchmodat.2:63
366 "The B<fchmodat>() system call operates in exactly the same way as "
367 "B<chmod>(2), except for the differences described in this manual page."
371 #: build/C/man2/fchmodat.2:73
373 "If the pathname given in I<pathname> is relative, then it is interpreted "
374 "relative to the directory referred to by the file descriptor I<dirfd> "
375 "(rather than relative to the current working directory of the calling "
376 "process, as is done by B<chmod>(2) for a relative pathname)."
380 #: build/C/man2/fchmodat.2:85
382 "If I<pathname> is relative and I<dirfd> is the special value B<AT_FDCWD>, "
383 "then I<pathname> is interpreted relative to the current working directory of "
384 "the calling process (like B<chmod>(2))."
388 #: build/C/man2/fchmodat.2:94 build/C/man2/fchownat.2:94
389 msgid "I<flags> can either be 0, or include the following flag:"
393 #: build/C/man2/fchmodat.2:101
395 "If I<pathname> is a symbolic link, do not dereference it: instead operate on "
396 "the link itself. This flag is not currently implemented."
400 #: build/C/man2/fchmodat.2:108
402 "On success, B<fchmodat>() returns 0. On error, -1 is returned and I<errno> "
403 "is set to indicate the error."
407 #: build/C/man2/fchmodat.2:115
409 "The same errors that occur for B<chmod>(2) can also occur for "
410 "B<fchmodat>(). The following additional errors can occur for B<fchmodat>():"
414 #: build/C/man2/fchmodat.2:129
420 #: build/C/man2/fchmodat.2:135
421 msgid "I<flags> specified B<AT_SYMLINK_NOFOLLOW>, which is not supported."
425 #: build/C/man2/fchmodat.2:138
426 msgid "B<fchmodat>() was added to Linux in kernel 2.6.16."
430 #: build/C/man2/fchmodat.2:145
431 msgid "See B<openat>(2) for an explanation of the need for B<fchmodat>()."
435 #: build/C/man2/fchmodat.2:153
437 "The GNU C library wrapper function implements the POSIX-specified interface "
438 "described in this page. This interface differs from the underlying Linux "
439 "system call, which does I<not> have a I<flags> argument."
443 #: build/C/man2/fchmodat.2:158
444 msgid "B<chmod>(2), B<openat>(2), B<path_resolution>(7), B<symlink>(7)"
448 #: build/C/man2/fchownat.2:26
454 #: build/C/man2/fchownat.2:26 build/C/man2/linkat.2:27 build/C/man2/mkdirat.2:26 build/C/man3/mkfifoat.3:26 build/C/man2/openat.2:26 build/C/man2/readlinkat.2:26 build/C/man2/renameat.2:26
460 #: build/C/man2/fchownat.2:30
462 "fchownat - change ownership of a file relative to a directory file "
467 #: build/C/man2/fchownat.2:37
470 "B<int fchownat(int >I<dirfd>B<, const char *>I<pathname>B<,>\n"
471 "B< uid_t >I<owner>B<, gid_t >I<group>B<, int >I<flags>B<);>\n"
475 #: build/C/man2/fchownat.2:45
476 msgid "B<fchownat>():"
480 #: build/C/man2/fchownat.2:63
482 "The B<fchownat>() system call operates in exactly the same way as "
483 "B<chown>(2), except for the differences described in this manual page."
487 #: build/C/man2/fchownat.2:73
489 "If the pathname given in I<pathname> is relative, then it is interpreted "
490 "relative to the directory referred to by the file descriptor I<dirfd> "
491 "(rather than relative to the current working directory of the calling "
492 "process, as is done by B<chown>(2) for a relative pathname)."
496 #: build/C/man2/fchownat.2:85
498 "If I<pathname> is relative and I<dirfd> is the special value B<AT_FDCWD>, "
499 "then I<pathname> is interpreted relative to the current working directory of "
500 "the calling process (like B<chown>(2))."
504 #: build/C/man2/fchownat.2:105
506 "If I<pathname> is a symbolic link, do not dereference it: instead operate on "
507 "the link itself, like B<lchown>(2). (By default, B<fchownat>() "
508 "dereferences symbolic links, like B<chown>(2).)"
512 #: build/C/man2/fchownat.2:112
514 "On success, B<fchownat>() returns 0. On error, -1 is returned and I<errno> "
515 "is set to indicate the error."
519 #: build/C/man2/fchownat.2:119
521 "The same errors that occur for B<chown>(2) can also occur for "
522 "B<fchownat>(). The following additional errors can occur for B<fchownat>():"
526 #: build/C/man2/fchownat.2:136
527 msgid "B<fchownat>() was added to Linux in kernel 2.6.16."
531 #: build/C/man2/fchownat.2:139 build/C/man2/fstatat.2:150 build/C/man2/openat.2:132 build/C/man2/unlinkat.2:157
532 msgid "POSIX.1-2008. A similar system call exists on Solaris."
536 #: build/C/man2/fchownat.2:144
537 msgid "See B<openat>(2) for an explanation of the need for B<fchownat>()."
541 #: build/C/man2/fchownat.2:149
542 msgid "B<chown>(2), B<openat>(2), B<path_resolution>(7), B<symlink>(7)"
546 #: build/C/man2/fstatat.2:25
552 #: build/C/man2/fstatat.2:25
558 #: build/C/man2/fstatat.2:28
559 msgid "fstatat - get file status relative to a directory file descriptor"
563 #: build/C/man2/fstatat.2:32 build/C/man2/mkdirat.2:33 build/C/man3/mkfifoat.3:33 build/C/man2/mknodat.2:34
566 "B<#include E<lt>fcntl.hE<gt> /* Definition of AT_* constants */>\n"
567 "B<#include E<lt>sys/stat.hE<gt>>\n"
571 #: build/C/man2/fstatat.2:36
574 "B<int fstatat(int >I<dirfd>B<, const char *>I<pathname>B<, struct stat "
576 "B< int >I<flags>B<);>\n"
580 #: build/C/man2/fstatat.2:44
581 msgid "B<fstatat>():"
585 #: build/C/man2/fstatat.2:62
587 "The B<fstatat>() system call operates in exactly the same way as "
588 "B<stat>(2), except for the differences described in this manual page."
592 #: build/C/man2/fstatat.2:72
594 "If the pathname given in I<pathname> is relative, then it is interpreted "
595 "relative to the directory referred to by the file descriptor I<dirfd> "
596 "(rather than relative to the current working directory of the calling "
597 "process, as is done by B<stat>(2) for a relative pathname)."
601 #: build/C/man2/fstatat.2:84
603 "If I<pathname> is relative and I<dirfd> is the special value B<AT_FDCWD>, "
604 "then I<pathname> is interpreted relative to the current working directory of "
605 "the calling process (like B<stat>(2))."
609 #: build/C/man2/fstatat.2:93
611 "I<flags> can either be 0, or include one or more of the following flags "
616 #: build/C/man2/fstatat.2:93
618 msgid "B<AT_NO_AUTOMOUNT> (since Linux 2.6.38)"
622 #: build/C/man2/fstatat.2:105
624 "Don't automount the terminal (\"basename\") component of I<pathname> if it "
625 "is a directory that is an automount point. This allows the caller to gather "
626 "attributes of an automount point (rather than the location it would mount). "
627 "This flag can be used in tools that scan directories to prevent "
628 "mass-automounting of a directory of automount points. The "
629 "B<AT_NO_AUTOMOUNT> flag has no effect if the mount point has already been "
634 #: build/C/man2/fstatat.2:116
636 "If I<pathname> is a symbolic link, do not dereference it: instead return "
637 "information about the link itself, like B<lstat>(2). (By default, "
638 "B<fstatat>() dereferences symbolic links, like B<stat>(2).)"
642 #: build/C/man2/fstatat.2:123
644 "On success, B<fstatat>() returns 0. On error, -1 is returned and I<errno> "
645 "is set to indicate the error."
649 #: build/C/man2/fstatat.2:130
651 "The same errors that occur for B<stat>(2) can also occur for B<fstatat>(). "
652 "The following additional errors can occur for B<fstatat>():"
656 #: build/C/man2/fstatat.2:147
657 msgid "B<fstatat>() was added to Linux in kernel 2.6.16."
661 #: build/C/man2/fstatat.2:155
662 msgid "See B<openat>(2) for an explanation of the need for B<fstatat>()."
666 #: build/C/man2/fstatat.2:160
668 "The underlying system call employed by the glibc B<fstatat>() wrapper "
669 "function is actually called B<fstatat64>()."
673 #: build/C/man2/fstatat.2:165
674 msgid "B<openat>(2), B<stat>(2), B<path_resolution>(7), B<symlink>(7)"
678 #: build/C/man2/futimesat.2:26
684 #: build/C/man2/futimesat.2:26 build/C/man2/symlinkat.2:26 build/C/man2/unlinkat.2:26
690 #: build/C/man2/futimesat.2:30
692 "futimesat - change timestamps of a file relative to a directory file "
697 #: build/C/man2/futimesat.2:34
700 "B<#include E<lt>fcntl.hE<gt> /* Definition of AT_* constants */>\n"
701 "B<#include E<lt>sys/time.hE<gt>>\n"
705 #: build/C/man2/futimesat.2:37
708 "B<int futimesat(int >I<dirfd>B<, const char *>I<pathname>B<,>\n"
709 "B< const struct timeval >I<times>B<[2]);>\n"
713 #: build/C/man2/futimesat.2:46
714 msgid "B<futimesat>(): _GNU_SOURCE"
718 #: build/C/man2/futimesat.2:51
719 msgid "This system call is obsolete. Use B<utimensat>(2) instead."
723 #: build/C/man2/futimesat.2:57
725 "The B<futimesat>() system call operates in exactly the same way as "
726 "B<utimes>(2), except for the differences described in this manual page."
730 #: build/C/man2/futimesat.2:67
732 "If the pathname given in I<pathname> is relative, then it is interpreted "
733 "relative to the directory referred to by the file descriptor I<dirfd> "
734 "(rather than relative to the current working directory of the calling "
735 "process, as is done by B<utimes>(2) for a relative pathname)."
739 #: build/C/man2/futimesat.2:79
741 "If I<pathname> is relative and I<dirfd> is the special value B<AT_FDCWD>, "
742 "then I<pathname> is interpreted relative to the current working directory of "
743 "the calling process (like B<utimes>(2))."
747 #: build/C/man2/futimesat.2:92
749 "On success, B<futimesat>() returns a 0. On error, -1 is returned and "
750 "I<errno> is set to indicate the error."
754 #: build/C/man2/futimesat.2:99
756 "The same errors that occur for B<utimes>(2) can also occur for "
757 "B<futimesat>(). The following additional errors can occur for "
762 #: build/C/man2/futimesat.2:112
763 msgid "B<futimesat>() was added to Linux in kernel 2.6.16."
767 #: build/C/man2/futimesat.2:117
769 "This system call is nonstandard. It was implemented from a specification "
770 "that was proposed for POSIX.1, but that specification was replaced by the "
771 "one for B<utimensat>(2)."
775 #: build/C/man2/futimesat.2:119
776 msgid "A similar system call exists on Solaris."
779 #. The Solaris futimesat() also has this strangeness.
781 #: build/C/man2/futimesat.2:128
783 "If I<pathname> is NULL, then the glibc B<futimesat>() wrapper function "
784 "updates the times for the file referred to by I<dirfd>."
788 #: build/C/man2/futimesat.2:134
790 "B<stat>(2), B<utimensat>(2), B<utimes>(2), B<futimes>(3), "
791 "B<path_resolution>(7)"
795 #: build/C/man2/linkat.2:27
801 #: build/C/man2/linkat.2:30
802 msgid "linkat - create a file link relative to directory file descriptors"
806 #: build/C/man2/linkat.2:37
809 "B<int linkat(int >I<olddirfd>B<, const char *>I<oldpath>B<,>\n"
810 "B< int >I<newdirfd>B<, const char *>I<newpath>B<, int "
815 #: build/C/man2/linkat.2:45
820 #: build/C/man2/linkat.2:63
822 "The B<linkat>() system call operates in exactly the same way as B<link>(2), "
823 "except for the differences described in this manual page."
827 #: build/C/man2/linkat.2:73
829 "If the pathname given in I<oldpath> is relative, then it is interpreted "
830 "relative to the directory referred to by the file descriptor I<olddirfd> "
831 "(rather than relative to the current working directory of the calling "
832 "process, as is done by B<link>(2) for a relative pathname)."
836 #: build/C/man2/linkat.2:85
838 "If I<oldpath> is relative and I<olddirfd> is the special value B<AT_FDCWD>, "
839 "then I<oldpath> is interpreted relative to the current working directory of "
840 "the calling process (like B<link>(2))."
844 #: build/C/man2/linkat.2:91 build/C/man2/renameat.2:90
845 msgid "If I<oldpath> is absolute, then I<olddirfd> is ignored."
849 #: build/C/man2/linkat.2:99 build/C/man2/renameat.2:98
851 "The interpretation of I<newpath> is as for I<oldpath>, except that a "
852 "relative pathname is interpreted relative to the directory referred to by "
853 "the file descriptor I<newdirfd>."
857 #: build/C/man2/linkat.2:116
859 "By default, B<linkat>(), does not dereference I<oldpath> if it is a symbolic "
860 "link (like B<link>(2)). Since Linux 2.6.18, the flag B<AT_SYMLINK_FOLLOW> "
861 "can be specified in I<flags> to cause I<oldpath> to be dereferenced if it is "
862 "a symbolic link. Before kernel 2.6.18, the I<flags> argument was unused, "
863 "and had to be specified as 0."
867 #: build/C/man2/linkat.2:123
869 "On success, B<linkat>() returns 0. On error, -1 is returned and I<errno> "
870 "is set to indicate the error."
874 #: build/C/man2/linkat.2:130
876 "The same errors that occur for B<link>(2) can also occur for B<linkat>(). "
877 "The following additional errors can occur for B<linkat>():"
881 #: build/C/man2/linkat.2:136 build/C/man2/renameat.2:118
882 msgid "I<olddirfd> or I<newdirfd> is not a valid file descriptor."
886 #: build/C/man2/linkat.2:146 build/C/man2/renameat.2:128
888 "I<oldpath> is relative and I<olddirfd> is a file descriptor referring to a "
889 "file other than a directory; or similar for I<newpath> and I<newdirfd>"
893 #: build/C/man2/linkat.2:149
894 msgid "B<linkat>() was added to Linux in kernel 2.6.16."
898 #: build/C/man2/linkat.2:156
899 msgid "See B<openat>(2) for an explanation of the need for B<linkat>()."
903 #: build/C/man2/linkat.2:161
904 msgid "B<link>(2), B<openat>(2), B<path_resolution>(7), B<symlink>(7)"
908 #: build/C/man2/mkdirat.2:26
914 #: build/C/man2/mkdirat.2:29
915 msgid "mkdirat - create a directory relative to a directory file descriptor"
919 #: build/C/man2/mkdirat.2:35
922 "B<int mkdirat(int >I<dirfd>B<, const char *>I<pathname>B<, mode_t "
927 #: build/C/man2/mkdirat.2:43
928 msgid "B<mkdirat>():"
932 #: build/C/man2/mkdirat.2:61
934 "The B<mkdirat>() system call operates in exactly the same way as "
935 "B<mkdir>(2), except for the differences described in this manual page."
939 #: build/C/man2/mkdirat.2:71
941 "If the pathname given in I<pathname> is relative, then it is interpreted "
942 "relative to the directory referred to by the file descriptor I<dirfd> "
943 "(rather than relative to the current working directory of the calling "
944 "process, as is done by B<mkdir>(2) for a relative pathname)."
948 #: build/C/man2/mkdirat.2:83
950 "If I<pathname> is relative and I<dirfd> is the special value B<AT_FDCWD>, "
951 "then I<pathname> is interpreted relative to the current working directory of "
952 "the calling process (like B<mkdir>(2))."
956 #: build/C/man2/mkdirat.2:96
958 "On success, B<mkdirat>() returns 0. On error, -1 is returned and I<errno> "
959 "is set to indicate the error."
963 #: build/C/man2/mkdirat.2:103
965 "The same errors that occur for B<mkdir>(2) can also occur for "
966 "B<mkdirat>(). The following additional errors can occur for B<mkdirat>():"
970 #: build/C/man2/mkdirat.2:116
971 msgid "B<mkdirat>() was added to Linux in kernel 2.6.16."
975 #: build/C/man2/mkdirat.2:123
976 msgid "See B<openat>(2) for an explanation of the need for B<mkdirat>()."
980 #: build/C/man2/mkdirat.2:127
981 msgid "B<mkdir>(2), B<openat>(2), B<path_resolution>(7)"
985 #: build/C/man3/mkfifoat.3:26
991 #: build/C/man3/mkfifoat.3:29
992 msgid "mkfifoat - make a FIFO (named pipe) relative to a directory file descriptor"
996 #: build/C/man3/mkfifoat.3:35
999 "B<int mkfifoat(int >I<dirfd>B<, const char *>I<pathname>B<, mode_t "
1004 #: build/C/man3/mkfifoat.3:43
1005 msgid "B<mkfifoat>():"
1009 #: build/C/man3/mkfifoat.3:61
1011 "The B<mkfifoat>() system call operates in exactly the same way as "
1012 "B<mkfifo>(3), except for the differences described in this manual page."
1016 #: build/C/man3/mkfifoat.3:71
1018 "If the pathname given in I<pathname> is relative, then it is interpreted "
1019 "relative to the directory referred to by the file descriptor I<dirfd> "
1020 "(rather than relative to the current working directory of the calling "
1021 "process, as is done by B<mkfifo>(3) for a relative pathname)."
1025 #: build/C/man3/mkfifoat.3:83
1027 "If I<pathname> is relative and I<dirfd> is the special value B<AT_FDCWD>, "
1028 "then I<pathname> is interpreted relative to the current working directory of "
1029 "the calling process (like B<mkfifo>(3))."
1033 #: build/C/man3/mkfifoat.3:96
1035 "On success, B<mkfifoat>() returns 0. On error, -1 is returned and I<errno> "
1036 "is set to indicate the error."
1040 #: build/C/man3/mkfifoat.3:103
1042 "The same errors that occur for B<mkfifo>(3) can also occur for "
1043 "B<mkfifoat>(). The following additional errors can occur for B<mkfifoat>():"
1047 #: build/C/man3/mkfifoat.3:113
1049 "I<pathname> is a relative path and I<dirfd> is a file descriptor referring "
1050 "to a file other than a directory."
1054 #: build/C/man3/mkfifoat.3:119
1056 "B<mkfifoat>() was added to glibc in version 2.4. It is implemented using "
1057 "B<mknod>(2), available on Linux since kernel 2.6.16."
1061 #: build/C/man3/mkfifoat.3:126
1062 msgid "See B<openat>(2) for an explanation of the need for B<mkfifoat>()."
1066 #: build/C/man3/mkfifoat.3:130
1067 msgid "B<openat>(2), B<mkfifo>(3), B<path_resolution>(7)"
1071 #: build/C/man2/mknodat.2:26
1077 #: build/C/man2/mknodat.2:26
1083 #: build/C/man2/mknodat.2:30
1085 "mknodat - create a special or ordinary file relative to a directory file "
1090 #: build/C/man2/mknodat.2:37
1093 "B<int mknodat(int >I<dirfd>B<, const char *>I<pathname>B<, mode_t "
1094 ">I<mode>B<, dev_t >I<dev>B<);>\n"
1098 #: build/C/man2/mknodat.2:45
1099 msgid "B<mknodat>():"
1102 #. Other FTM combinations will also expose mknodat(), but this function was
1103 #. added in SUSv4, marked XSI, so we'll just document what the standard says.
1105 #: build/C/man2/mknodat.2:53
1107 msgid " _XOPEN_SOURCE\\ E<gt>=\\ 700\n"
1111 #: build/C/man2/mknodat.2:65
1113 "The B<mknodat>() system call operates in exactly the same way as "
1114 "B<mknod>(2), except for the differences described in this manual page."
1118 #: build/C/man2/mknodat.2:75
1120 "If the pathname given in I<pathname> is relative, then it is interpreted "
1121 "relative to the directory referred to by the file descriptor I<dirfd> "
1122 "(rather than relative to the current working directory of the calling "
1123 "process, as is done by B<mknod>(2) for a relative pathname)."
1127 #: build/C/man2/mknodat.2:87
1129 "If I<pathname> is relative and I<dirfd> is the special value B<AT_FDCWD>, "
1130 "then I<pathname> is interpreted relative to the current working directory of "
1131 "the calling process (like B<mknod>(2))."
1135 #: build/C/man2/mknodat.2:100
1137 "On success, B<mknodat>() returns 0. On error, -1 is returned and I<errno> "
1138 "is set to indicate the error."
1142 #: build/C/man2/mknodat.2:107
1144 "The same errors that occur for B<mknod>(2) can also occur for "
1145 "B<mknodat>(). The following additional errors can occur for B<mknodat>():"
1149 #: build/C/man2/mknodat.2:120
1150 msgid "B<mknodat>() was added to Linux in kernel 2.6.16."
1154 #: build/C/man2/mknodat.2:127
1155 msgid "See B<openat>(2) for an explanation of the need for B<mknodat>()."
1159 #: build/C/man2/mknodat.2:131
1160 msgid "B<mknod>(2), B<openat>(2), B<path_resolution>(7)"
1164 #: build/C/man2/openat.2:26
1170 #: build/C/man2/openat.2:29
1171 msgid "openat - open a file relative to a directory file descriptor"
1175 #: build/C/man2/openat.2:32
1177 msgid "B<#include E<lt>fcntl.hE<gt>>\n"
1181 #: build/C/man2/openat.2:36
1184 "B<int openat(int >I<dirfd>B<, const char *>I<pathname>B<, int "
1186 "B<int openat(int >I<dirfd>B<, const char *>I<pathname>B<, int >I<flags>B<, "
1187 "mode_t >I<mode>B<);>\n"
1191 #: build/C/man2/openat.2:44
1192 msgid "B<openat>():"
1196 #: build/C/man2/openat.2:62
1198 "The B<openat>() system call operates in exactly the same way as B<open>(2), "
1199 "except for the differences described in this manual page."
1203 #: build/C/man2/openat.2:72
1205 "If the pathname given in I<pathname> is relative, then it is interpreted "
1206 "relative to the directory referred to by the file descriptor I<dirfd> "
1207 "(rather than relative to the current working directory of the calling "
1208 "process, as is done by B<open>(2) for a relative pathname)."
1212 #: build/C/man2/openat.2:84
1214 "If I<pathname> is relative and I<dirfd> is the special value B<AT_FDCWD>, "
1215 "then I<pathname> is interpreted relative to the current working directory of "
1216 "the calling process (like B<open>(2))."
1220 #: build/C/man2/openat.2:97
1222 "On success, B<openat>() returns a new file descriptor. On error, -1 is "
1223 "returned and I<errno> is set to indicate the error."
1227 #: build/C/man2/openat.2:104
1229 "The same errors that occur for B<open>(2) can also occur for B<openat>(). "
1230 "The following additional errors can occur for B<openat>():"
1234 #: build/C/man2/openat.2:117
1235 msgid "B<openat>() was added to Linux in kernel 2.6.16."
1239 #: build/C/man2/openat.2:136
1241 "B<openat>() and other similar system calls suffixed \"at\" are supported "
1246 #: build/C/man2/openat.2:154
1248 "First, B<openat>() allows an application to avoid race conditions that "
1249 "could occur when using B<open>(2) to open files in directories other than "
1250 "the current working directory. These race conditions result from the fact "
1251 "that some component of the directory prefix given to B<open>(2) could be "
1252 "changed in parallel with the call to B<open>(2). Such races can be avoided "
1253 "by opening a file descriptor for the target directory, and then specifying "
1254 "that file descriptor as the I<dirfd> argument of B<openat>()."
1258 #: build/C/man2/openat.2:163
1260 "Second, B<openat>() allows the implementation of a per-thread \"current "
1261 "working directory\", via file descriptor(s) maintained by the application. "
1262 "(This functionality can also be obtained by tricks based on the use of "
1263 "I</proc/self/fd/>dirfd, but less efficiently.)"
1267 #: build/C/man2/openat.2:180
1269 "B<faccessat>(2), B<fchmodat>(2), B<fchownat>(2), B<fstatat>(2), "
1270 "B<futimesat>(2), B<linkat>(2), B<mkdirat>(2), B<mknodat>(2), B<open>(2), "
1271 "B<readlinkat>(2), B<renameat>(2), B<symlinkat>(2), B<unlinkat>(2), "
1272 "B<utimensat>(2), B<mkfifoat>(3), B<path_resolution>(7)"
1276 #: build/C/man2/readlinkat.2:26
1282 #: build/C/man2/readlinkat.2:30
1284 "readlinkat - read value of a symbolic link relative to a directory file "
1289 #: build/C/man2/readlinkat.2:37
1292 "B<int readlinkat(int >I<dirfd>B<, const char *>I<pathname>B<,>\n"
1293 "B< char *>I<buf>B<, size_t >I<bufsiz>B<);>\n"
1297 #: build/C/man2/readlinkat.2:45
1298 msgid "B<readlinkat>():"
1302 #: build/C/man2/readlinkat.2:63
1304 "The B<readlinkat>() system call operates in exactly the same way as "
1305 "B<readlink>(2), except for the differences described in this manual page."
1309 #: build/C/man2/readlinkat.2:73
1311 "If the pathname given in I<pathname> is relative, then it is interpreted "
1312 "relative to the directory referred to by the file descriptor I<dirfd> "
1313 "(rather than relative to the current working directory of the calling "
1314 "process, as is done by B<readlink>(2) for a relative pathname)."
1318 #: build/C/man2/readlinkat.2:85
1320 "If I<pathname> is relative and I<dirfd> is the special value B<AT_FDCWD>, "
1321 "then I<pathname> is interpreted relative to the current working directory of "
1322 "the calling process (like B<readlink>(2))."
1326 #: build/C/man2/readlinkat.2:99
1328 "On success, B<readlinkat>() returns the number of bytes placed in I<buf>. "
1329 "On error, -1 is returned and I<errno> is set to indicate the error."
1333 #: build/C/man2/readlinkat.2:106
1335 "The same errors that occur for B<readlink>(2) can also occur for "
1336 "B<readlinkat>(). The following additional errors can occur for "
1341 #: build/C/man2/readlinkat.2:119
1342 msgid "B<readlinkat>() was added to Linux in kernel 2.6.16."
1346 #: build/C/man2/readlinkat.2:126
1347 msgid "See B<openat>(2) for an explanation of the need for B<readlinkat>()."
1351 #: build/C/man2/readlinkat.2:130
1352 msgid "B<openat>(2), B<readlink>(2), B<path_resolution>(7)"
1356 #: build/C/man2/renameat.2:26
1362 #: build/C/man2/renameat.2:29
1363 msgid "renameat - rename a file relative to directory file descriptors"
1367 #: build/C/man2/renameat.2:33
1370 "B<#include E<lt>fcntl.hE<gt> /* Definition of AT_* constants */>\n"
1371 "B<#include E<lt>stdio.hE<gt>>\n"
1375 #: build/C/man2/renameat.2:36
1378 "B<int renameat(int >I<olddirfd>B<, const char *>I<oldpath>B<,>\n"
1379 "B< int >I<newdirfd>B<, const char *>I<newpath>B<);>\n"
1383 #: build/C/man2/renameat.2:44
1384 msgid "B<renameat>():"
1388 #: build/C/man2/renameat.2:62
1390 "The B<renameat>() system call operates in exactly the same way as "
1391 "B<rename>(2), except for the differences described in this manual page."
1395 #: build/C/man2/renameat.2:72
1397 "If the pathname given in I<oldpath> is relative, then it is interpreted "
1398 "relative to the directory referred to by the file descriptor I<olddirfd> "
1399 "(rather than relative to the current working directory of the calling "
1400 "process, as is done by B<rename>(2) for a relative pathname)."
1404 #: build/C/man2/renameat.2:84
1406 "If I<oldpath> is relative and I<olddirfd> is the special value B<AT_FDCWD>, "
1407 "then I<oldpath> is interpreted relative to the current working directory of "
1408 "the calling process (like B<rename>(2))."
1412 #: build/C/man2/renameat.2:105
1414 "On success, B<renameat>() returns 0. On error, -1 is returned and I<errno> "
1415 "is set to indicate the error."
1419 #: build/C/man2/renameat.2:112
1421 "The same errors that occur for B<rename>(2) can also occur for "
1422 "B<renameat>(). The following additional errors can occur for B<renameat>():"
1426 #: build/C/man2/renameat.2:131
1427 msgid "B<renameat>() was added to Linux in kernel 2.6.16."
1431 #: build/C/man2/renameat.2:138
1432 msgid "See B<openat>(2) for an explanation of the need for B<renameat>()."
1436 #: build/C/man2/renameat.2:142
1437 msgid "B<openat>(2), B<rename>(2), B<path_resolution>(7)"
1441 #: build/C/man2/symlinkat.2:26
1447 #: build/C/man2/symlinkat.2:29
1448 msgid "symlinkat - create a symbolic link relative to a directory file descriptor"
1452 #: build/C/man2/symlinkat.2:36
1455 "B<int symlinkat(const char *>I<oldpath>B<, int >I<newdirfd>B<, const char "
1456 "*>I<newpath>B<);>\n"
1460 #: build/C/man2/symlinkat.2:44
1461 msgid "B<symlinkat>():"
1465 #: build/C/man2/symlinkat.2:62
1467 "The B<symlinkat>() system call operates in exactly the same way as "
1468 "B<symlink>(2), except for the differences described in this manual page."
1472 #: build/C/man2/symlinkat.2:72
1474 "If the pathname given in I<newpath> is relative, then it is interpreted "
1475 "relative to the directory referred to by the file descriptor I<newdirfd> "
1476 "(rather than relative to the current working directory of the calling "
1477 "process, as is done by B<symlink>(2) for a relative pathname)."
1481 #: build/C/man2/symlinkat.2:84
1483 "If I<newpath> is relative and I<newdirfd> is the special value B<AT_FDCWD>, "
1484 "then I<newpath> is interpreted relative to the current working directory of "
1485 "the calling process (like B<symlink>(2))."
1489 #: build/C/man2/symlinkat.2:90
1490 msgid "If I<newpath> is absolute, then I<newdirfd> is ignored."
1494 #: build/C/man2/symlinkat.2:97
1496 "On success, B<symlinkat>() returns 0. On error, -1 is returned and "
1497 "I<errno> is set to indicate the error."
1501 #: build/C/man2/symlinkat.2:104
1503 "The same errors that occur for B<symlink>(2) can also occur for "
1504 "B<symlinkat>(). The following additional errors can occur for "
1509 #: build/C/man2/symlinkat.2:108
1510 msgid "I<newdirfd> is not a valid file descriptor."
1514 #: build/C/man2/symlinkat.2:114
1516 "I<newpath> is relative and I<newdirfd> is a file descriptor referring to a "
1517 "file other than a directory."
1521 #: build/C/man2/symlinkat.2:117
1522 msgid "B<symlinkat>() was added to Linux in kernel 2.6.16."
1526 #: build/C/man2/symlinkat.2:124
1527 msgid "See B<openat>(2) for an explanation of the need for B<symlinkat>()."
1531 #: build/C/man2/symlinkat.2:129
1532 msgid "B<openat>(2), B<symlink>(2), B<path_resolution>(7), B<symlink>(7)"
1536 #: build/C/man2/unlinkat.2:26
1542 #: build/C/man2/unlinkat.2:29
1543 msgid "unlinkat - remove a directory entry relative to a directory file descriptor"
1547 #: build/C/man2/unlinkat.2:35
1550 "B<int unlinkat(int >I<dirfd>B<, const char *>I<pathname>B<, int "
1555 #: build/C/man2/unlinkat.2:43
1556 msgid "B<unlinkat>():"
1560 #: build/C/man2/unlinkat.2:68
1562 "The B<unlinkat>() system call operates in exactly the same way as either "
1563 "B<unlink>(2) or B<rmdir>(2) (depending on whether or not I<flags> includes "
1564 "the B<AT_REMOVEDIR> flag) except for the differences described in this "
1569 #: build/C/man2/unlinkat.2:80
1571 "If the pathname given in I<pathname> is relative, then it is interpreted "
1572 "relative to the directory referred to by the file descriptor I<dirfd> "
1573 "(rather than relative to the current working directory of the calling "
1574 "process, as is done by B<unlink>(2) and B<rmdir>(2) for a relative "
1579 #: build/C/man2/unlinkat.2:94
1581 "If the pathname given in I<pathname> is relative and I<dirfd> is the special "
1582 "value B<AT_FDCWD>, then I<pathname> is interpreted relative to the current "
1583 "working directory of the calling process (like B<unlink>(2) and "
1588 #: build/C/man2/unlinkat.2:100
1589 msgid "If the pathname given in I<pathname> is absolute, then I<dirfd> is ignored."
1593 #: build/C/man2/unlinkat.2:106
1595 "I<flags> is a bit mask that can either be specified as 0, or by ORing "
1596 "together flag values that control the operation of B<unlinkat>(). Currently "
1597 "only one such flags is defined:"
1601 #: build/C/man2/unlinkat.2:106
1603 msgid "B<AT_REMOVEDIR>"
1607 #: build/C/man2/unlinkat.2:121
1609 "By default, B<unlinkat>() performs the equivalent of B<unlink>(2) on "
1610 "I<pathname>. If the B<AT_REMOVEDIR> flag is specified, then performs the "
1611 "equivalent of B<rmdir>(2) on I<pathname>."
1615 #: build/C/man2/unlinkat.2:128
1617 "On success, B<unlinkat>() returns 0. On error, -1 is returned and I<errno> "
1618 "is set to indicate the error."
1622 #: build/C/man2/unlinkat.2:137
1624 "The same errors that occur for B<unlink>(2) and B<rmdir>(2) can also occur "
1625 "for B<unlinkat>(). The following additional errors can occur for "
1630 #: build/C/man2/unlinkat.2:145
1631 msgid "An invalid flag value was specified in I<flags>."
1635 #: build/C/man2/unlinkat.2:154
1636 msgid "B<unlinkat>() was added to Linux in kernel 2.6.16."
1640 #: build/C/man2/unlinkat.2:162
1641 msgid "See B<openat>(2) for an explanation of the need for B<unlinkat>()."
1645 #: build/C/man2/unlinkat.2:167
1646 msgid "B<openat>(2), B<rmdir>(2), B<unlink>(2), B<path_resolution>(7)"