fstatat(2) allows a NULL path with AT_EMPTY_PATH since Linux 6.11.
Change-Id: If6f8eb8bb25a34f9c1dcd4303d2e1befc46245d7
diff --git a/libc/include/sys/stat.h b/libc/include/sys/stat.h
index b6cdb14..12bfedc 100644
--- a/libc/include/sys/stat.h
+++ b/libc/include/sys/stat.h
@@ -216,10 +216,10 @@
*
* Returns 0 on success and returns -1 and sets `errno` on failure.
*/
-int fstatat(int __dir_fd, const char* _Nonnull __path, struct stat* _Nonnull __buf, int __flags);
+int fstatat(int __dir_fd, const char* _Nullable __path, struct stat* _Nonnull __buf, int __flags);
/** An alias for fstatat(). */
-int fstatat64(int __dir_fd, const char* _Nonnull __path, struct stat64* _Nonnull __buf, int __flags);
+int fstatat64(int __dir_fd, const char* _Nullable __path, struct stat64* _Nonnull __buf, int __flags);
/**
* [lstat(2)](https://man7.org/linux/man-pages/man2/lstat.2.html)