summaryrefslogtreecommitdiff
path: root/userland/libc/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 /userland/libc/include
parentd0cca44913356f8ce15e15216b0e26c2e74b4d06 (diff)
Kernel/LibC: Add fstat() and remove stat() syscall
Diffstat (limited to 'userland/libc/include')
-rw-r--r--userland/libc/include/syscall.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/userland/libc/include/syscall.h b/userland/libc/include/syscall.h
index 1e8c86c..245b482 100644
--- a/userland/libc/include/syscall.h
+++ b/userland/libc/include/syscall.h
@@ -28,7 +28,7 @@
#define SYS_SOCKET 20
#define SYS_SHM_OPEN 21
#define SYS_FTRUNCATE 22
-#define SYS_STAT 23
+#define SYS_FSTAT 23
#define SYS_MSLEEP 24
#define SYS_UPTIME 25
#define SYS_MKDIR 26
@@ -167,9 +167,4 @@ typedef struct SYS_FTRUNCATE_PARAMS {
int fildes;
size_t length;
} __attribute__((packed)) SYS_FTRUNCATE_PARAMS;
-
-typedef struct SYS_STAT_PARAMS {
- const char *pathname;
- struct stat *statbuf;
-} __attribute__((packed)) SYS_STAT_PARAMS;
#endif