From c9c7d9bf0372b8d0d8c9f0ae8729dfb595555429 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Fri, 8 Aug 2025 17:24:29 -0400 Subject: lib: libc: Add POSIX dup stubs Signed-off-by: Ian Moffett --- lib/libc/include/unistd.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/libc/include') 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); -- cgit v1.2.3