mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:17:44 +00:00
Kernel+LibC: Add posix_fallocate syscall
This commit is contained in:
parent
ad904cdcab
commit
d783389877
6 changed files with 70 additions and 0 deletions
|
@ -301,6 +301,7 @@ public:
|
|||
ErrorOr<FlatPtr> sys$stat(Userspace<Syscall::SC_stat_params const*>);
|
||||
ErrorOr<FlatPtr> sys$lseek(int fd, Userspace<off_t*>, int whence);
|
||||
ErrorOr<FlatPtr> sys$ftruncate(int fd, Userspace<off_t const*>);
|
||||
ErrorOr<FlatPtr> sys$posix_fallocate(int fd, Userspace<off_t const*>, Userspace<off_t const*>);
|
||||
ErrorOr<FlatPtr> sys$kill(pid_t pid_or_pgid, int sig);
|
||||
[[noreturn]] void sys$exit(int status);
|
||||
ErrorOr<FlatPtr> sys$sigreturn(RegisterState& registers);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue