Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_diff.c759 int pipefd[2]; in zfs_show_diffs() local
770 if (pipe(pipefd)) { in zfs_show_diffs()
781 di.datafd = pipefd[0]; in zfs_show_diffs()
785 (void) close(pipefd[0]); in zfs_show_diffs()
786 (void) close(pipefd[1]); in zfs_show_diffs()
795 zc.zc_cookie = pipefd[1]; in zfs_show_diffs()
812 (void) close(pipefd[1]); in zfs_show_diffs()
824 (void) close(pipefd[1]); in zfs_show_diffs()
H A Dlibzfs_sendrecv.c1858 int pipefd[2]; in zfs_send() local
1893 if ((err = pipe(pipefd)) != 0) { in zfs_send()
1899 dda.inputfd = pipefd[1]; in zfs_send()
1902 (void) close(pipefd[0]); in zfs_send()
1903 (void) close(pipefd[1]); in zfs_send()
2014 sdd.outfd = pipefd[0]; in zfs_send()
2122 (void) close(pipefd[0]); in zfs_send()
2159 (void) close(pipefd[0]); in zfs_send()
/illumos-gate/usr/src/cmd/sendmail/util/
H A Dvacation.c751 int i, pipefd[2], tmpfd; local
766 if (pipe(pipefd) < 0) {
776 dup2(pipefd[0], 0);
777 close(pipefd[0]);
778 close(pipefd[1]);
785 close(pipefd[0]);
786 fpipe = fdopen(pipefd[1], "w");
/illumos-gate/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 …]
/illumos-gate/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()
/illumos-gate/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()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dpppd.h702 extern void (*device_pipe_hook) __P((int pipefd));
H A Dmain.c148 void (*device_pipe_hook) __P((int pipefd)) = NULL;