From c9c7821b8938fd036c66d9aee97f667e4ca811a3 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Wed, 6 May 2015 15:26:57 +0200 Subject: [PATCH] rename.2: Place list of renameat() flags in alphabetical order Signed-off-by: Michael Kerrisk --- man2/rename.2 | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/man2/rename.2 b/man2/rename.2 index 641a7b133..fa463cef1 100644 --- a/man2/rename.2 +++ b/man2/rename.2 @@ -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