1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 18:47:34 +00:00

Kernel+LibC: Merge sys$stat() and sys$lstat()

There is now only one sys$stat() instead of two separate syscalls.
This commit is contained in:
Andreas Kling 2020-02-10 19:32:40 +01:00
parent b67035c3ac
commit 580a94bc44
4 changed files with 24 additions and 35 deletions

View file

@ -195,8 +195,7 @@ public:
ssize_t sys$write(int fd, const u8*, ssize_t);
ssize_t sys$writev(int fd, const struct iovec* iov, int iov_count);
int sys$fstat(int fd, stat*);
int sys$lstat(const char*, size_t, stat*);
int sys$stat(const char*, size_t, stat*);
int sys$stat(const Syscall::SC_stat_params*);
int sys$lseek(int fd, off_t, int whence);
int sys$kill(pid_t pid, int sig);
[[noreturn]] void sys$exit(int status);