aboutsummaryrefslogtreecommitdiff
path: root/sys/src/dup.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/src/dup.c')
-rw-r--r--sys/src/dup.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/src/dup.c b/sys/src/dup.c
new file mode 100644
index 0000000..0943f52
--- /dev/null
+++ b/sys/src/dup.c
@@ -0,0 +1,7 @@
+#include "internal.h"
+
+int
+sys·dup(int fd)
+{
+ return syscall(·Dup, fd);
+}