summaryrefslogtreecommitdiff
path: root/test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test.c')
-rw-r--r--test.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/test.c b/test.c
deleted file mode 100644
index 16c9023..0000000
--- a/test.c
+++ /dev/null
@@ -1,15 +0,0 @@
-#include <stdio.h>
-#include <unistd.h>
-
-int main() {
- int test[2];
- pipe(&test);
-
- char buf[] = "123";
- char buf2[4];
- write( test[1], buf, sizeof(buf) );
- printf("lol\n");
- read( test[0], buf2, sizeof(buf2) );
- printf("answer: %s\n", buf2);
-}
-