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
@@ -344,6 +344,7 @@ extern int pipe(int fildes[2]);
|
||||
extern int pipe2(int fildes[2], int flags);
|
||||
extern int dup(int fd);
|
||||
extern int dup2(int fd1, int fd2);
|
||||
extern int dup3(int fd1, int fd2, int flags);
|
||||
extern int close(int fd);
|
||||
extern int link(const char *toPath, const char *path);
|
||||
extern int linkat(int toFD, const char *toPath, int pathFD,
|
||||
|
||||
Reference in New Issue
Block a user