summaryrefslogtreecommitdiff
path: root/userspace/err.c
diff options
context:
space:
mode:
authorMiguel <m.i@gmx.at>2018-08-18 13:23:53 +0200
committerMiguel <m.i@gmx.at>2018-08-18 13:23:53 +0200
commit7b0d88b2dff9b635d9ff69f6d51b6832c1ca4c40 (patch)
tree22c452e9c7ad586136721e776e0b67b23fb33119 /userspace/err.c
parent17fd357bad5f6c3362cfdab1d807aa463c69a4e9 (diff)
cleaning up syscalls and playing with new pipes
Diffstat (limited to 'userspace/err.c')
-rw-r--r--userspace/err.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/userspace/err.c b/userspace/err.c
new file mode 100644
index 0000000..b8dc8ed
--- /dev/null
+++ b/userspace/err.c
@@ -0,0 +1,9 @@
+#include <stdio.h>
+
+int main()
+{
+ char buf[]="errrrrrro\n";
+ printf("writing some err\n");
+ fwrite(buf,1,10,stderr); // write stderr;
+ return 0;
+}