mirror of https://github.com/mkerrisk/man-pages
open.2: Reorder list of cases for 'dirfd' argument of openat()
In preparation for subsequent commits Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
5241f3cce5
commit
56dddcbad5
20
man2/open.2
20
man2/open.2
|
@ -934,15 +934,11 @@ argument as follows:
|
||||||
.IP * 3
|
.IP * 3
|
||||||
If the pathname given in
|
If the pathname given in
|
||||||
.I pathname
|
.I pathname
|
||||||
is relative, then it is interpreted relative to the directory
|
is absolute, then
|
||||||
referred to by the file descriptor
|
|
||||||
.I dirfd
|
.I dirfd
|
||||||
(rather than relative to the current working directory of
|
is ignored.
|
||||||
the calling process, as is done by
|
|
||||||
.BR open ()
|
|
||||||
for a relative pathname).
|
|
||||||
.IP *
|
.IP *
|
||||||
If
|
If the pathname given in
|
||||||
.I pathname
|
.I pathname
|
||||||
is relative and
|
is relative and
|
||||||
.I dirfd
|
.I dirfd
|
||||||
|
@ -954,11 +950,15 @@ is interpreted relative to the current working
|
||||||
directory of the calling process (like
|
directory of the calling process (like
|
||||||
.BR open ()).
|
.BR open ()).
|
||||||
.IP *
|
.IP *
|
||||||
If
|
If the pathname given in
|
||||||
.I pathname
|
.I pathname
|
||||||
is absolute, then
|
is relative, then it is interpreted relative to the directory
|
||||||
|
referred to by the file descriptor
|
||||||
.I dirfd
|
.I dirfd
|
||||||
is ignored.
|
(rather than relative to the current working directory of
|
||||||
|
the calling process, as is done by
|
||||||
|
.BR open ()
|
||||||
|
for a relative pathname).
|
||||||
.\"
|
.\"
|
||||||
.SS openat2(2)
|
.SS openat2(2)
|
||||||
The
|
The
|
||||||
|
|
Loading…
Reference in New Issue