wasmer/tests/emscripten_resources/emtests/test_pipe.c

14 lines
210 B
C
Raw Normal View History

2019-03-01 18:54:39 +00:00
#include <sys/types.h>
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
int main() {
int mypipe[2];
printf("pipe\n");
if (pipe(mypipe)) {
printf("error\n");
}
return 0;
}