diff options
author | Anton Kling <anton@kling.gg> | 2024-04-17 17:06:16 +0200 |
---|---|---|
committer | Anton Kling <anton@kling.gg> | 2024-04-17 17:06:16 +0200 |
commit | 620d37f41747e943648544d1fd1567d386c91e04 (patch) | |
tree | bd6d616aca8a853f3b90cfd176bba4d37575e42a /kernel/includes | |
parent | d0cca44913356f8ce15e15216b0e26c2e74b4d06 (diff) |
Kernel/LibC: Add fstat() and remove stat() syscall
Diffstat (limited to 'kernel/includes')
-rw-r--r-- | kernel/includes/syscalls.h | 7 |
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); |