Home
last modified time | relevance | path

Searched refs:pipedes (Results 1 – 2 of 2) sorted by relevance

/freebsd/sbin/ipfw/
H A Dmain.c607 int pipedes[2]; in ipfw_readfile() local
609 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()
/freebsd/lib/libc/tests/stdio/
H A Dgetdelim_test.c286 int fd_fifo, flags, i, ipcfd[2], pipedes[2], pipedes2[2], status; in _nonblock_eagain() local
293 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()