Home
last modified time | relevance | path

Searched refs:pipefd (Results 1 – 8 of 8) sorted by relevance

/titanic_41/usr/src/lib/libzfs/common/
H A Dlibzfs_diff.c757 int pipefd[2]; in zfs_show_diffs() local
768 if (pipe(pipefd)) { in zfs_show_diffs()
779 di.datafd = pipefd[0]; in zfs_show_diffs()
783 (void) close(pipefd[0]); in zfs_show_diffs()
784 (void) close(pipefd[1]); in zfs_show_diffs()
793 zc.zc_cookie = pipefd[1]; in zfs_show_diffs()
810 (void) close(pipefd[1]); in zfs_show_diffs()
822 (void) close(pipefd[1]); in zfs_show_diffs()
H A Dlibzfs_sendrecv.c1681 int pipefd[2]; in zfs_send() local
1706 if (err = pipe(pipefd)) { in zfs_send()
1712 dda.inputfd = pipefd[1]; in zfs_send()
1715 (void) close(pipefd[0]); in zfs_send()
1716 (void) close(pipefd[1]); in zfs_send()
1794 sdd.outfd = pipefd[0]; in zfs_send()
1898 (void) close(pipefd[0]); in zfs_send()
1935 (void) close(pipefd[0]); in zfs_send()
/titanic_41/usr/src/cmd/sendmail/aux/
H A Dvacation.c756 int i, pipefd[2], tmpfd; local
770 if (pipe(pipefd) < 0) {
780 dup2(pipefd[0], 0);
781 close(pipefd[0]);
782 close(pipefd[1]);
789 close(pipefd[0]);
790 fpipe = fdopen(pipefd[1], "w");
/titanic_41/usr/src/lib/libshell/common/sh/
H A Dsubshell.c81 short pipefd; /* read fd if pipe is created */ member
148 sp->pipefd = fds[0]; in sh_subtmpfile()
149 sh_fcntl(sp->pipefd,F_SETFD,FD_CLOEXEC); in sh_subtmpfile()
554 sp->pipefd = -1; in sh_subshell()
601 if(sp->pipefd>=0) in sh_subshell()
604 iop = sh_iostream(shp,sp->pipefd); in sh_subshell()
652 if(comsub && iop && sp->pipefd<0) in sh_subshell()
/titanic_41/usr/src/cmd/sendmail/src/
H A Ddaemon.c214 int pipefd[2]; local
621 pipefd[0] = pipefd[1] = -1;
632 if (pipe(pipefd) < 0)
633 pipefd[0] = pipefd[1] = -1;
640 if (pipefd[0] != -1)
642 (void) close(pipefd[0]);
643 (void) close(pipefd[1]);
759 if (pipefd[0] != -1)
772 (void) close(pipefd[1]);
775 while (read(pipefd[0], &c, 1) < 0 &&
[all …]
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/pppd/plugins/
H A Dpppoe.c478 pppoe_device_pipe(int pipefd) in pppoe_device_pipe() argument
484 fd = fdopen(pipefd, "r"); in pppoe_device_pipe()
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dpppd.h695 extern void (*device_pipe_hook) __P((int pipefd));
H A Dmain.c151 void (*device_pipe_hook) __P((int pipefd)) = NULL;