mirror of https://github.com/mkerrisk/man-pages
rename.2: Place list of renameat() flags in alphabetical order
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
60b3b93cdd
commit
c9c7821b89
|
@ -184,14 +184,6 @@ The
|
|||
.I flags
|
||||
argument is a bit mask consisting of zero or more of the following flags:
|
||||
.TP
|
||||
.B RENAME_NOREPLACE
|
||||
Don't overwrite
|
||||
.IR newpath
|
||||
of the rename.
|
||||
Return an error if
|
||||
.IR newpath
|
||||
already exists.
|
||||
.TP
|
||||
.B RENAME_EXCHANGE
|
||||
Atomically exchange
|
||||
.IR oldpath
|
||||
|
@ -200,6 +192,14 @@ and
|
|||
Both pathnames must exist
|
||||
but may be of different types (e.g., one could be a non-empty directory
|
||||
and the other a symbolic link).
|
||||
.TP
|
||||
.B RENAME_NOREPLACE
|
||||
Don't overwrite
|
||||
.IR newpath
|
||||
of the rename.
|
||||
Return an error if
|
||||
.IR newpath
|
||||
already exists.
|
||||
.SH RETURN VALUE
|
||||
On success, zero is returned.
|
||||
On error, \-1 is returned, and
|
||||
|
|
Loading…
Reference in New Issue