From 4e6c4ab2ffa05922dfcd387cb470c9635047a42d Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Sat, 19 Apr 2014 10:35:45 +0200 Subject: [PATCH] rename.2: Add CONFORMING TO and VERSIONS for renameat2() Signed-off-by: Michael Kerrisk --- man2/rename.2 | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/man2/rename.2 b/man2/rename.2 index 895d22c20..77befd53a 100644 --- a/man2/rename.2 +++ b/man2/rename.2 @@ -390,12 +390,19 @@ and the target of the rename does not exist. .BR renameat () was added to Linux in kernel 2.6.16; library support was added to glibc in version 2.4. + +.BR renameat2 () +was added to Linux in kernel 3.15. +.\" FIXME glibc support is pending. .SH CONFORMING TO .BR rename (): 4.3BSD, C89, C99, POSIX.1-2001, POSIX.1-2008. .BR renameat (): POSIX.1-2008. + +.BR renameat2() +is Linux-specific. .SH BUGS On NFS filesystems, you can not assume that if the operation failed, the file was not renamed.