HomeSort by relevance Sort by last modified time
    Searched refs:tty_fd (Results 1 - 9 of 9) sorted by null

  /external/chromium_org/native_client_sdk/src/tests/nacl_io_test/
tty_test.cc 191 int tty_fd = ki_open("/dev/tty", O_RDONLY, 0); local
192 ASSERT_GT(tty_fd, 0) << "tty open failed: " << errno;
196 FD_SET(tty_fd, &readfds);
197 FD_SET(tty_fd, &errorfds);
202 int rtn = ki_select(tty_fd + 1, &readfds, NULL, &errorfds, &timeout);
204 ASSERT_FALSE(FD_ISSET(tty_fd, &readfds));
205 ASSERT_FALSE(FD_ISSET(tty_fd, &errorfds));
210 FD_SET(tty_fd, &readfds);
211 FD_SET(tty_fd, &writefds);
212 FD_SET(tty_fd, &errorfds)
234 int tty_fd = ki_open("\/dev\/tty", O_RDONLY, 0); local
267 int tty_fd = ki_open("\/dev\/tty", O_RDONLY, 0); local
304 int* tty_fd = static_cast<int*>(arg); local
315 int tty_fd = ki_open("\/dev\/tty", O_RDONLY, 0); local
358 int tty_fd = ki_open("\/dev\/tty", O_RDONLY, 0); local
    [all...]
  /external/mksh/src/
jobs.c 238 mksh_tcset(tty_fd, &tty_state);
240 if (tcsetpgrp(tty_fd, restore_ttypgrp) < 0) {
265 } else if (tcsetpgrp(tty_fd, kshpid) < 0) {
319 tcsetpgrp(tty_fd, restore_ttypgrp);
344 if ((ttypgrp_ok = (use_tty && tty_fd >= 0 && tty_devtty))) {
351 if ((ttypgrp = tcgetpgrp(tty_fd)) < 0) {
372 if (tcsetpgrp(tty_fd, kshpid) < 0) {
540 tcsetpgrp(tty_fd, j->pgrp);
856 mksh_tcset(tty_fd, &j->ttystat);
859 tcsetpgrp(tty_fd, (j->flags & JF_SAVEDTTYPGRP)
    [all...]
main.c 1079 * Initialise tty_fd. Used for tracking the size of the terminal,
1087 * An existing tty_fd is cached if no "better" one could be found,
1115 if (tty_fd >= 0) {
1141 tty_fd = rv;
    [all...]
var.c     [all...]
sh.h     [all...]
edit.c     [all...]
  /external/ppp/pppd/
sys-linux.c 397 int tty_establish_ppp (int tty_fd)
404 if (ioctl(tty_fd, TIOCEXCL, 0) < 0) {
424 if (ioctl(tty_fd, TIOCSETD, &ppp_disc) < 0) {
431 ret_fd = generic_establish_ppp(tty_fd);
441 if (ioctl(tty_fd, TIOCSETD, &tty_disc) < 0 && !ok_error(errno))
549 void tty_disestablish_ppp(int tty_fd)
555 if (tcflush(tty_fd, TCIOFLUSH) < 0)
563 if (ioctl(tty_fd, TIOCSETD, &tty_disc) < 0) {
568 if (ioctl(tty_fd, TIOCNXCL, 0) < 0) {
574 if (initfdflags != -1 && fcntl(tty_fd, F_SETFL, initfdflags) < 0)
    [all...]
  /external/chromium_org/third_party/pexpect/
pexpect.py 643 def __pty_make_controlling_tty(self, tty_fd):
649 child_name = os.ttyname(tty_fd)
    [all...]
  /external/lldb/test/pexpect-2.4/
pexpect.py 607 def __pty_make_controlling_tty(self, tty_fd):
613 child_name = os.ttyname(tty_fd)
    [all...]

Completed in 300 milliseconds