rename.2: Add feature test macro for renameat2()

The glibc wrapper for renameat2() was added in glibc 2.28 and
requires _GNU_SOURCE.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Tobias Klauser 2018-08-16 09:24:53 +02:00 committed by Michael Kerrisk
parent cb5a67a477
commit 2763b5b0d4
1 changed files with 6 additions and 1 deletions

View File

@ -65,7 +65,12 @@ _POSIX_C_SOURCE\ >=\ 200809L
.TP
Before glibc 2.10:
_ATFILE_SOURCE
.\" FIXME . need to define FTMs for renameat2(), once it hits glibc
.RE
.PP
.BR renameat2 ():
.RS 4
.TP
_GNU_SOURCE
.RE
.ad
.PD