summaryrefslogtreecommitdiff
path: root/userspace/fd.c
diff options
context:
space:
mode:
authorMiguel <m.i@gmx.at>2018-09-20 02:02:28 +0200
committerMiguel <m.i@gmx.at>2018-09-20 02:02:28 +0200
commit631fdbefc89a6202c5b8e2bf0e15a6ca7df809ef (patch)
treed0cd13fcb6590c6d3bf88193ca344521ee3e3e78 /userspace/fd.c
parent1e08b64b43bf9c50b644da3f76d5a8bcc73f62da (diff)
newlib and pipes
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");
+
+}