Home | History | Annotate | Download | only in pipe

Lines Matching defs:pipefd

80 	int pipefd[2];		/* fds for pipe read/write */
94 TEST(pipe(pipefd));
106 if (close(pipefd[0]) != 0) {
107 tst_resm(TWARN, "pipefd[0] close failed, "
113 if (write(pipefd[1], "A", 1) != 1) {
133 if (close(pipefd[0]) != 0) {
134 perror("pipefd[0] close failed");
139 if (write(pipefd[1], "B", 1) != 1) {
155 if (close(pipefd[1]) != 0) {
157 "pipefd[1] close failed");
160 while ((red = do_read(pipefd[0], rebuf, 100)) > 0) {
178 "reading pipefd pipe failed");