aboutsummaryrefslogtreecommitdiff
path: root/sys/include
diff options
context:
space:
mode:
Diffstat (limited to 'sys/include')
-rw-r--r--sys/include/sys/filedesc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/include/sys/filedesc.h b/sys/include/sys/filedesc.h
index f5f24db..94946a0 100644
--- a/sys/include/sys/filedesc.h
+++ b/sys/include/sys/filedesc.h
@@ -48,6 +48,8 @@ int fd_read(unsigned int fd, void *buf, size_t count);
int fd_alloc(struct filedesc **fd_out);
int fd_open(const char *pathname, int flags);
+
+int fd_dup(int fd);
struct filedesc *fd_get(unsigned int fdno);
#endif /* !_SYS_FILEDESC_H_ */