Home | History | Annotate | Download | only in openssh

Lines Matching full:stdin

117 /* Flag indicating that stdin should be redirected from /dev/null. */
155 static Buffer stdin_buffer; /* Buffer for stdin data. */
199 /* Restores stdin to blocking mode. */
205 unset_nonblock(fileno(stdin));
210 /* Puts stdin terminal in non-blocking mode. */
216 set_nonblock(fileno(stdin));
407 * an EOF coming on stdin. We must check this explicitly, as select() does
423 * way we will get the EOF if stdin comes from /dev/null or similar.
426 /* Fake EOF on stdin. */
434 /* Check for immediate EOF on stdin. */
435 len = read(fileno(stdin), buf, 1);
462 * Make packets from buffered stdin data, and buffer them for sending to the
471 /* Send buffered stdin data to the server. */
512 if (ioctl(fileno(stdin), TIOCGWINSZ, &ws) < 0)
578 * Read from stdin, unless we have seen EOF or have very much
582 FD_SET(fileno(stdin), *readsetp);
1096 /* fake EOF on stdin */
1107 /* Close stdin. */
1211 /* Read input from stdin. */
1212 if (FD_ISSET(fileno(stdin), readset)) {
1214 len = read(fileno(stdin), buf, sizeof(buf));
1405 if (!isatty(fileno(stdin)))
1406 set_nonblock(fileno(stdin));
1411 max_fd = MAX(max_fd, fileno(stdin));
1456 /* Check if we should immediately send eof on stdin. */
1475 * Make packets of buffered stdin data, and buffer
1526 /* Buffer data from stdin */
1587 if (!isatty(fileno(stdin)))
1588 unset_nonblock(fileno(stdin));