rename.2: Place list of renameat() flags in alphabetical order

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2015-05-06 15:26:57 +02:00
parent 60b3b93cdd
commit c9c7821b89
1 changed files with 8 additions and 8 deletions

View File

@ -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