summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAnton Kling <anton@kling.gg>2024-04-17 17:06:16 +0200
committerAnton Kling <anton@kling.gg>2024-04-17 17:06:16 +0200
commit620d37f41747e943648544d1fd1567d386c91e04 (patch)
treebd6d616aca8a853f3b90cfd176bba4d37575e42a /include
parentd0cca44913356f8ce15e15216b0e26c2e74b4d06 (diff)
Kernel/LibC: Add fstat() and remove stat() syscall
Diffstat (limited to 'include')
-rw-r--r--include/sys/stat.h1
1 files changed, 1 insertions, 0 deletions
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