From cad6df32994670e3b29775d651057b9b47afe36b Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Fri, 10 Apr 2015 14:15:08 +0200 Subject: [PATCH] stat.2: Add mention of newfstatat() The underlying system call for fstatat() is newfstatat() on some architectures. Signed-off-by: Michael Kerrisk --- man2/stat.2 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/man2/stat.2 b/man2/stat.2 index 94f74ceca..1df3195e6 100644 --- a/man2/stat.2 +++ b/man2/stat.2 @@ -795,7 +795,6 @@ ext4 (since Linux 2.6.23). Nanosecond timestamps are not supported in ext2, ext3, and Reiserfs. On filesystems that do not support subsecond timestamps, the nanosecond fields are returned with the value 0. -.SS Underlying kernel interface .SS C library/kernel ABI differences Over time, increases in the size of the .I stat @@ -852,7 +851,10 @@ and The underlying system call employed by the glibc .BR fstatat () wrapper function is actually called -.BR fstatat64 (). +.BR fstatat64 () +or, on some architectures, +.\" strace(1) shows the name "newfstatat" on x86-64 +.BR newfstatat (). .SH EXAMPLE The following program calls .BR stat ()