summaryrefslogtreecommitdiff
path: root/kernel/includes
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 /kernel/includes
parentd0cca44913356f8ce15e15216b0e26c2e74b4d06 (diff)
Kernel/LibC: Add fstat() and remove stat() syscall
Diffstat (limited to 'kernel/includes')
-rw-r--r--kernel/includes/syscalls.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/kernel/includes/syscalls.h b/kernel/includes/syscalls.h
index 07a73e3..f187d4b 100644
--- a/kernel/includes/syscalls.h
+++ b/kernel/includes/syscalls.h
@@ -123,11 +123,6 @@ typedef struct SYS_SOCKET_PARAMS {
int syscall_socket(SYS_SOCKET_PARAMS *args);
-typedef struct SYS_STAT_PARAMS {
- const char *pathname;
- struct stat *statbuf;
-} __attribute__((packed)) SYS_STAT_PARAMS;
-
-int syscall_stat(SYS_STAT_PARAMS *args);
+int syscall_fstat(int fd, struct stat *buf);
u32 syscall_uptime(void);
int syscall_isatty(int fd);