diff options
author | Ian Moffett <ian@osmora.org> | 2025-08-08 17:24:29 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-08-08 17:24:29 -0400 |
commit | c9c7d9bf0372b8d0d8c9f0ae8729dfb595555429 (patch) | |
tree | 18db2369f9a82b67e93ee480312703d331df4107 /lib/libc/include | |
parent | 98e85a7ebbbc35f66bcb6ec38d5f79f8de73dce6 (diff) |
lib: libc: Add POSIX dup stubs
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'lib/libc/include')
-rw-r--r-- | lib/libc/include/unistd.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libc/include/unistd.h b/lib/libc/include/unistd.h index 34fbf69..2293066 100644 --- a/lib/libc/include/unistd.h +++ b/lib/libc/include/unistd.h @@ -63,6 +63,9 @@ off_t lseek(int fildes, off_t offset, int whence); int unlinkat(int dirfd, const char *pathname, int flags); int unlink(const char *path); +int dup(int fd); +int dup2(int fd, int fd1); + pid_t getpid(void); pid_t getppid(void); pid_t fork(void); |