The original text hinted that you need _GNU_SOURCE only for a few of the AT_* constants; but actually you need it to get the statx() declaration. Signed-off-by: Jakub Wilk <jwilk@xxxxxxxxx> --- man2/statx.2 | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/man2/statx.2 b/man2/statx.2 index 0b3f6747f..a8620be6f 100644 --- a/man2/statx.2 +++ b/man2/statx.2 @@ -15,6 +15,7 @@ Standard C library .RI ( libc ", " \-lc ) .SH SYNOPSIS .nf +.BR "#define _GNU_SOURCE " "/* See feature_test_macros(7) */" .BR "#include <fcntl.h> " "/* Definition of " AT_* " constants */" .B #include <sys/stat.h> .PP @@ -166,11 +167,6 @@ If is .BR AT_FDCWD , the call operates on the current working directory. -.IP -This flag is Linux-specific; define -.B _GNU_SOURCE -.\" Before glibc 2.16, defining _ATFILE_SOURCE sufficed -to obtain its definition. .TP .B AT_NO_AUTOMOUNT Don't automount the terminal ("basename") component of @@ -193,11 +189,6 @@ and act as though .B AT_NO_AUTOMOUNT was set. -.IP -This flag is Linux-specific; define -.B _GNU_SOURCE -.\" Before glibc 2.16, defining _ATFILE_SOURCE sufficed -to obtain its definition. .TP .B AT_SYMLINK_NOFOLLOW If -- 2.36.1