diff options
| author | Miguel <m.i@gmx.at> | 2018-08-18 13:23:53 +0200 |
|---|---|---|
| committer | Miguel <m.i@gmx.at> | 2018-08-18 13:23:53 +0200 |
| commit | 7b0d88b2dff9b635d9ff69f6d51b6832c1ca4c40 (patch) | |
| tree | 22c452e9c7ad586136721e776e0b67b23fb33119 /userspace/err.c | |
| parent | 17fd357bad5f6c3362cfdab1d807aa463c69a4e9 (diff) | |
cleaning up syscalls and playing with new pipes
Diffstat (limited to 'userspace/err.c')
| -rw-r--r-- | userspace/err.c | 9 |
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; +} |
