summaryrefslogtreecommitdiff
path: root/userland/libc/include/unistd.h
diff options
context:
space:
mode:
authorAnton Kling <anton@kling.gg>2024-11-22 22:33:06 +0100
committerAnton Kling <anton@kling.gg>2024-11-22 22:33:06 +0100
commit8fa2af9678b9e257a1dfb1e5111f35d22366f2c6 (patch)
treed82d3b9678b2fcfdc901455f4ca2ed13dc49aaa7 /userland/libc/include/unistd.h
parent8827f3033d76b0d9c7d8d8225077176a813f7f49 (diff)
vfs: Add dup()
Diffstat (limited to 'userland/libc/include/unistd.h')
-rw-r--r--userland/libc/include/unistd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/userland/libc/include/unistd.h b/userland/libc/include/unistd.h
index b44ca3e..3f17df4 100644
--- a/userland/libc/include/unistd.h
+++ b/userland/libc/include/unistd.h
@@ -15,6 +15,7 @@ int close(int fildes);
int ftruncate(int fildes, size_t length);
int execv(char *path, char **argv);
int pipe(int fd[2]);
+int dup(int fildes);
int dup2(int org_fd, int new_fd);
int getopt(int argc, char *const argv[], const char *optstring);
pid_t getpid(void);