aboutsummaryrefslogtreecommitdiff
path: root/docs/code/proc-streams/test.c
diff options
context:
space:
mode:
Diffstat (limited to 'docs/code/proc-streams/test.c')
-rw-r--r--docs/code/proc-streams/test.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/code/proc-streams/test.c b/docs/code/proc-streams/test.c
new file mode 100644
index 00000000..7c45c1fd
--- /dev/null
+++ b/docs/code/proc-streams/test.c
@@ -0,0 +1,8 @@
+#include <stdio.h>
+
+int main()
+{
+ fprintf(stderr, "This is stderr\n");
+ printf("This is stdout\n");
+ return 0;
+}