Searched defs:pipefd (Results 1 - 6 of 6) sorted by relevance

/osnet-11/usr/src/cmd/cmd-inet/usr.bin/pppd/plugins/
H A Dpppoe.c478 pppoe_device_pipe(int pipefd) argument
484 fd = fdopen(pipefd, "r");
/osnet-11/usr/src/lib/libshell/common/sh/
H A Dsubshell.c84 short pipefd; /* read fd if pipe is created */ member in struct:subshell
136 sp->pipefd = fds[0];
137 sh_fcntl(sp->pipefd,F_SETFD,FD_CLOEXEC);
557 sp->pipefd = -1;
610 if(sp->pipefd>=0)
613 iop = sh_iostream(shp,sp->pipefd);
752 if(comsub && iop && sp->pipefd<0)
/osnet-11/usr/src/cmd/sendmail/aux/
H A Dvacation.c782 int i, pipefd[2], tmpfd; local
796 if (pipe(pipefd) < 0) {
806 dup2(pipefd[0], 0);
807 close(pipefd[0]);
808 close(pipefd[1]);
815 close(pipefd[0]);
816 fpipe = fdopen(pipefd[1], "w");
/osnet-11/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...]
/osnet-11/usr/src/lib/libzfs/common/
H A Dlibzfs_diff.c877 int pipefd[2]; local
898 if (pipe(pipefd)) {
904 di.datafd = pipefd[0];
908 (void) close(pipefd[0]);
909 (void) close(pipefd[1]);
920 zc.zc_cookie = pipefd[1];
938 (void) close(pipefd[1]);
950 (void) close(pipefd[1]);
H A Dlibzfs_sendrecv.c1464 int pipefd[2]; local
1513 if (err = pipe(pipefd)) {
1519 dda.inputfd = pipefd[1];
1522 (void) close(pipefd[0]);
1523 (void) close(pipefd[1]);
1613 sdd.outfd = pipefd[0];
1644 (void) close(pipefd[0]);
1678 (void) close(pipefd[0]);

Completed in 42 milliseconds