kernel/libroot: add dup3() from POSIX.1-2024
this adds a parameter to the dup2 syscall. Adjust strace. Change-Id: Icc2d0e054365865d38e5d596843a47c95100ca59 Reviewed-on: https://review.haiku-os.org/c/haiku/+/8514 Reviewed-by: waddlesplash <[email protected]> Tested-by: Commit checker robot <[email protected]>
This commit is contained in:
committed by
waddlesplash
parent
11cd4af6e1
commit
966076b273
@@ -250,7 +250,7 @@ ssize_t _user_read_dir(int fd, struct dirent *buffer, size_t bufferSize,
|
||||
status_t _user_rewind_dir(int fd);
|
||||
status_t _user_close(int fd);
|
||||
int _user_dup(int fd);
|
||||
int _user_dup2(int ofd, int nfd);
|
||||
int _user_dup2(int ofd, int nfd, int flags);
|
||||
status_t _user_lock_node(int fd);
|
||||
status_t _user_unlock_node(int fd);
|
||||
status_t _user_preallocate(int fd, off_t offset, off_t length);
|
||||
|
||||
Reference in New Issue
Block a user