#include #include #include int main(void) { char buf[1]; int fds[2]; if (pipe(fds) != 0) err(1, "pipe"); while (1) { read(fds[0], buf, 1); fprintf(stderr, "not stuck\n"); } }