Home
last modified time | relevance | path

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

/titanic_51/usr/src/lib/libzfs/common/
H A Dlibzfs_diff.c750 int pipefd[2]; in zfs_show_diffs() local
761 if (pipe(pipefd)) { in zfs_show_diffs()
772 di.datafd = pipefd[0]; in zfs_show_diffs()
776 (void) close(pipefd[0]); in zfs_show_diffs()
777 (void) close(pipefd[1]); in zfs_show_diffs()
786 zc.zc_cookie = pipefd[1]; in zfs_show_diffs()
803 (void) close(pipefd[1]); in zfs_show_diffs()
815 (void) close(pipefd[1]); in zfs_show_diffs()
H A Dlibzfs_sendrecv.c1683 int pipefd[2]; in zfs_send() local
1708 if (err = pipe(pipefd)) { in zfs_send()
1714 dda.inputfd = pipefd[1]; in zfs_send()
1717 (void) close(pipefd[0]); in zfs_send()
1718 (void) close(pipefd[1]); in zfs_send()
1796 sdd.outfd = pipefd[0]; in zfs_send()
1900 (void) close(pipefd[0]); in zfs_send()
1937 (void) close(pipefd[0]); in zfs_send()
/titanic_51/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_51/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_51/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Dsubshell.c90 short pipefd; /* read fd if pipe is created */ member
143 sp->pipefd = fds[0]; in sh_subtmpfile()
144 sh_fcntl(sp->pipefd,F_SETFD,FD_CLOEXEC); in sh_subtmpfile()
609 sp->pipefd = -1; in sh_subshell()
663 if(sp->pipefd>=0) in sh_subshell()
666 iop = sh_iostream(shp,sp->pipefd); in sh_subshell()
815 if(comsub && iop && sp->pipefd<0) in sh_subshell()
/titanic_51/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[
[all...]
/titanic_51/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_51/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;