Home | History | Annotate | Download | only in sys

Lines Matching refs:pipefd

685 	int pipefd[2], flags;
692 RL(pipe(pipefd));
693 RL(fcntl(pipefd[0], F_SETOWN, getpid()));
694 RL(flags = fcntl(pipefd[0], F_GETFL));
695 RL(fcntl(pipefd[0], F_SETFL, flags | O_ASYNC));
701 C->fd = pipefd[1];
704 expected_si_fd = pipefd[0];
712 check_read(pipefd[0]);
726 int pipefd[2], flags;
733 RL(pipe(pipefd));
734 RL(fcntl(pipefd[0], F_SETOWN, getpid()));
735 RL(flags = fcntl(pipefd[0], F_GETFL));
736 RL(fcntl(pipefd[0], F_SETFL, flags | O_ASYNC));
742 C->fd = pipefd[1];
745 expected_si_fd = pipefd[0];
753 check_read_eof(pipefd[0]);
766 int pipefd[2], flags;
773 RL(pipe(pipefd));
774 fillpipebuf(pipefd[1]);
775 RL(fcntl(pipefd[1], F_SETOWN, getpid()));
776 RL(flags = fcntl(pipefd[1], F_GETFL));
777 RL(fcntl(pipefd[1], F_SETFL, flags | O_ASYNC));
783 C->fd = pipefd[0];
787 expected_si_fd = pipefd[1];
804 check_write(pipefd[1]);
818 int pipefd[2], flags;
825 RL(pipe(pipefd));
826 fillpipebuf(pipefd[1]);
827 RL(fcntl(pipefd[1], F_SETOWN, getpid()));
828 RL(flags = fcntl(pipefd[1], F_GETFL));
829 RL(fcntl(pipefd[1], F_SETFL, flags | O_ASYNC));
835 C->fd = pipefd[0];
838 expected_si_fd = pipefd[1];
847 check_write_fail(pipefd[1], EPIPE);