From: enh Date: Wed, 8 Jan 2025 23:53:17 +0000 (-0500) Subject: man/man2/stat.2: Linux 6.11 allows using NULL with AT_EMPTY_PATH. X-Git-Tag: man-pages-6.10~19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de7fe14556e77eb0252ea20c88f698edc5fce11c;p=thirdparty%2Fman-pages.git man/man2/stat.2: Linux 6.11 allows using NULL with AT_EMPTY_PATH. Cc: Dan Albert Signed-off-by: Elliott Hughes Message-ID: Signed-off-by: Alejandro Colomar --- diff --git a/man/man2/stat.2 b/man/man2/stat.2 index 099c56b15..cfbfb654b 100644 --- a/man/man2/stat.2 +++ b/man/man2/stat.2 @@ -175,7 +175,9 @@ can either be 0, or include one or more of the following flags ORed: .\" commit 65cfc6722361570bfe255698d9cd4dccaf47570d If .I pathname -is an empty string, operate on the file referred to by +is an empty string +(or NULL, since Linux 6.11) +operate on the file referred to by .I dirfd (which may have been obtained using the .BR open (2)