summaryrefslogtreecommitdiff
path: root/userspace/fd.c
diff options
context:
space:
mode:
Diffstat (limited to 'userspace/fd.c')
-rw-r--r--userspace/fd.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/userspace/fd.c b/userspace/fd.c
new file mode 100644
index 0000000..09cb28e
--- /dev/null
+++ b/userspace/fd.c
@@ -0,0 +1,9 @@
+#include <stdio.h>
+#include <unistd.h>
+
+int main()
+{
+ dup(stdout);
+ printf("dup\n");
+
+}