Searched refs:fdout (Results 1 - 11 of 11) sorted by relevance

/freebsd-9.3-release/contrib/file/src/
H A Dcompress.c383 int fdin[2], fdout[2]; local
396 if ((fd != -1 && pipe(fdin) == -1) || pipe(fdout) == -1) {
415 if (dup(fdout[1]) == -1)
417 (void) close(fdout[0]);
418 (void) close(fdout[1]);
437 (void) close(fdout[1]);
446 (void)close(fdout[0]);
491 if ((r = sread(fdout[0], *newch, HOWMANY, 0)) <= 0) {
508 (void) close(fdout[0]);
/freebsd-9.3-release/crypto/openssh/
H A Dserverloop.c96 static int fdout; /* Descriptor for stdout (for reading); variable
104 static int fdout_eof = 0; /* EOF encountered reading from fdout. */
334 FD_SET(fdout, *readsetp);
383 FD_SET(fdout, *readsetp);
432 if (!fdout_eof && FD_ISSET(fdout, readset)) {
434 len = read(fdout, buf, sizeof(buf));
441 } else if ((!isatty(fdout) && len <= 0) ||
442 (isatty(fdout) && (len < 0 || (len == 0 && errno != 0)))) {
490 if (fdin != fdout)
588 fdout
[all...]
H A Dscp.c121 int do_cmd(char *host, char *remuser, char *cmd, int *fdin, int *fdout);
122 int do_cmd2(char *host, char *remuser, char *cmd, int fdin, int fdout);
229 do_cmd(char *host, char *remuser, char *cmd, int *fdin, int *fdout) argument
288 *fdout = pin[1];
303 do_cmd2(char *host, char *remuser, char *cmd, int fdin, int fdout) argument
318 dup2(fdout, 1);
H A Dsession.c653 * handle the case that fdin and fdout are the same.
675 int fdout, ptyfd, ttyfd, ptymaster; local
690 if ((fdout = dup(ptyfd)) < 0) {
701 close(fdout);
709 close(fdout);
717 close(fdout);
780 session_set_fds(s, ptyfd, fdout, -1, 1, 1);
782 server_loop(pid, ptyfd, fdout, -1);
783 /* server_loop _has_ closed ptyfd and fdout. */
2367 session_set_fds(Session *s, int fdin, int fdout, in argument
[all...]
/freebsd-9.3-release/sys/dev/fdc/
H A Dfdcvar.h52 int fdout; /* mirror of the w/o digital output reg */ member in struct:fdc_data
H A Dfdc.c515 fdout_wr(fdc, fdc->fdout & ~(FDO_FRST|FDO_FDMAEN));
518 fdout_wr(fdc, fdc->fdout & ~FDO_FDMAEN);
521 fdout_wr(fdc, fdc->fdout);
625 fdc->fdout &= ~FDO_FDSEL;
626 fdc->fdout |= FDO_FDMAEN | FDO_FRST | fd->fdsu;
627 fdout_wr(fdc, fdc->fdout);
664 fdc->fdout |= (FDO_MOEN0 << fd->fdsu);
669 fdc->fdout &= ~(FDO_MOEN0 << fd->fdsu);
671 fdout_wr(fdc, fdc->fdout);
1825 /* reset controller, turn motor off, clear fdout mirro
[all...]
/freebsd-9.3-release/sys/pc98/cbus/
H A Dfdcvar.h94 int fdout; /* mirror of the w/o digital output reg */ member in struct:fdc_data
H A Dfdc.c825 /* reset controller, turn motor off, clear fdout mirror reg */
828 /* reset controller, turn motor off, clear fdout mirror reg */
829 fdout_wr(fdc, fdc->fdout = 0);
1122 int fdout;
1124 fdout = fdc->fdout;
1126 fdout &= ~FDO_FDSEL;
1127 fdout |= (FDO_MOEN0 << fdsu) | FDO_FDMAEN | FDO_FRST | fdsu;
1129 fdout &= ~(FDO_MOEN0 << fdsu);
1130 fdc->fdout
[all...]
/freebsd-9.3-release/contrib/cvs/src/
H A Dfilesubr.c37 int fdin, fdout; local
72 if ((fdout = creat (to, (int) sb.st_mode & 07777)) < 0)
93 if (write(fdout, buf, n) != n) {
99 if (fsync (fdout))
106 if (close (fdout) < 0)
/freebsd-9.3-release/usr.bin/xlint/xlint/
H A Dxlint.c704 runchild(const char *path, char *const *args, const char *crfn, int fdout) argument
730 if (fdout != -1) {
731 dup2(fdout, STDOUT_FILENO);
732 close(fdout);
/freebsd-9.3-release/crypto/heimdal/appl/rcp/
H A Drcp.c58 int do_cmd(char *host, char *remuser, char *cmd, int *fdin, int *fdout);
727 do_cmd(char *host, char *remuser, char *cmd, int *fdin, int *fdout) argument
798 *fdout = pin[1];

Completed in 209 milliseconds