Searched refs:pipefds (Results 1 – 3 of 3) sorted by relevance
42 int pipefds[2]; in main() local68 ret = pipe(pipefds); in main()71 ret = snprintf(displayfd, sizeof(displayfd), "%d", pipefds[1]); in main()80 close(pipefds[1]); in main()83 ret = read(pipefds[0], display + 1, sizeof(display) - 1); in main()91 close(pipefds[0]); in main()
158 int pipefds[2]; in PopulatePipeMap() local159 if (pipe(pipefds) < 0) { in PopulatePipeMap()166 i->second.parent_fd_ = pipefds[1]; in PopulatePipeMap()167 i->second.child_fd_ = pipefds[0]; in PopulatePipeMap()169 i->second.parent_fd_ = pipefds[0]; in PopulatePipeMap()170 i->second.child_fd_ = pipefds[1]; in PopulatePipeMap()
749 int pipefds[2]; in TEST() local750 int err = pipe(pipefds); in TEST()752 int fd = pipefds[1]; in TEST()765 if (IGNORE_EINTR(close(pipefds[0])) < 0) in TEST()767 if (IGNORE_EINTR(close(pipefds[1])) < 0) in TEST()774 int pipefds[2]; in TEST() local775 int err = pipe(pipefds); in TEST()777 int fd = pipefds[1]; in TEST()790 if (IGNORE_EINTR(close(pipefds[0])) < 0) in TEST()792 if (IGNORE_EINTR(close(pipefds[1])) < 0) in TEST()