The glibc wrapper for renameat2() was added in glibc 2.28 and requires _GNU_SOURCE. Signed-off-by: Tobias Klauser <tklauser@xxxxxxxxxx> --- man2/rename.2 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/man2/rename.2 b/man2/rename.2 index 0710357ef99f..53b26b589332 100644 --- a/man2/rename.2 +++ b/man2/rename.2 @@ -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 -- 2.18.0.130.g98da2f6b3e4a