From 620d37f41747e943648544d1fd1567d386c91e04 Mon Sep 17 00:00:00 2001 From: Anton Kling Date: Wed, 17 Apr 2024 17:06:16 +0200 Subject: Kernel/LibC: Add fstat() and remove stat() syscall --- include/sys/stat.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/sys/stat.h') diff --git a/include/sys/stat.h b/include/sys/stat.h index 334bc7d..9f3dfe9 100644 --- a/include/sys/stat.h +++ b/include/sys/stat.h @@ -35,5 +35,6 @@ struct stat { }; #ifndef KERNEL int stat(const char *path, struct stat *buf); +int fstat(int fd, struct stat *buf); #endif #endif -- cgit v1.2.3