Searched refs:fdin (Results 1 - 5 of 5) sorted by relevance

/freebsd-10.0-release/contrib/file/
H A Dcompress.c382 int fdin[2], fdout[2]; local
394 if ((fd != -1 && pipe(fdin) == -1) || pipe(fdout) == -1) {
405 (void) dup(fdin[0]);
406 (void) close(fdin[0]);
407 (void) close(fdin[1]);
434 (void) close(fdin[0]);
442 if (swrite(fdin[1], old, n) != (ssize_t)n) {
464 (void) close(fdin[1]);
465 fdin[1] = -1;
491 if (fdin[
[all...]
/freebsd-10.0-release/crypto/openssh/
H A Dserverloop.c94 static int fdin; /* Descriptor for stdin (for writing) */ variable
96 May be same number as fdin. */
105 static int fdin_is_tty = 0; /* fdin points to a tty. */
340 if (fdin != -1 && buffer_len(&stdin_buffer) > 0)
341 FD_SET(fdin, *writesetp);
480 if (!compat20 && fdin != -1 && FD_ISSET(fdin, writeset)) {
483 len = write(fdin, data, dlen);
488 if (fdin != fdout)
489 close(fdin);
[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
290 *fdin = pout[0];
303 do_cmd2(char *host, char *remuser, char *cmd, int fdin, int fdout) argument
317 dup2(fdin, 0);
H A Dsession.c631 * handle the case that fdin and fdout are the same.
2306 session_set_fds(Session *s, int fdin, int fdout, int fderr, int ignore_fderr, argument
2318 channel_set_fds(s->chanid, fdout, fdin, fderr,
2322 channel_set_fds(s->chanid, fdout, fdin, fderr,
/freebsd-10.0-release/crypto/heimdal/appl/rcp/
H A Drcp.c54 int do_cmd(char *host, char *remuser, char *cmd, int *fdin, int *fdout);
714 do_cmd(char *host, char *remuser, char *cmd, int *fdin, int *fdout) argument
787 *fdin = pout[0];

Completed in 225 milliseconds