Searched refs:pipedes (Results 1 – 2 of 2) sorted by relevance
607 int pipedes[2]; in ipfw_readfile() local609 if (pipe(pipedes) == -1) in ipfw_readfile()622 || dup2(pipedes[1], 1) == -1) in ipfw_readfile()625 close(pipedes[1]); in ipfw_readfile()626 close(pipedes[0]); in ipfw_readfile()631 close(pipedes[1]); in ipfw_readfile()632 if ((f = fdopen(pipedes[0], "r")) == NULL) { in ipfw_readfile()
286 int fd_fifo, flags, i, ipcfd[2], pipedes[2], pipedes2[2], status; in _nonblock_eagain() local293 ATF_REQUIRE(pipe2(pipedes, O_CLOEXEC) == 0); in _nonblock_eagain()300 close(pipedes[0]); in _nonblock_eagain()301 ipcfd[1] = pipedes[1]; in _nonblock_eagain()337 ipcfd[0] = pipedes[0]; in _nonblock_eagain()338 close(pipedes[1]); in _nonblock_eagain()