Kernel/LibC: add basic dup2

This commit is contained in:
Bananymous
2023-07-06 23:17:54 +03:00
parent 4cd72992c8
commit 07fec6e211
5 changed files with 52 additions and 2 deletions

View File

@@ -85,6 +85,7 @@ namespace Kernel
BAN::ErrorOr<long> sys_creat(BAN::StringView name, mode_t);
BAN::ErrorOr<long> sys_pipe(int fildes[2]);
BAN::ErrorOr<long> sys_dup2(int fildes, int fildes2);
BAN::ErrorOr<long> sys_seek(int fd, off_t offset, int whence);
BAN::ErrorOr<long> sys_tell(int fd);