HomeSort by relevance Sort by last modified time
    Searched defs:tty (Results 1 - 25 of 92) sorted by null

1 2 3 4

  /external/toybox/toys/posix/
tty.c 0 /* tty.c - Show stdin's terminal name
5 * See http://opengroup.org/onlinepubs/9699919799/utilities/tty.html
7 USE_TTY(NEWTOY(tty, "s", TOYFLAG_USR|TOYFLAG_BIN))
9 config TTY
10 bool "tty"
13 usage: tty [-s]
17 Prints "not a tty" and exits with nonzero status if no terminal
27 char *tty = ttyname(0); local
29 if (!toys.optflags) puts(tty ? tty : "not a tty")
    [all...]
  /external/strace/tests/
ioctl.c 62 struct termios tty; local
63 (void) ioctl(-1, TCGETS, &tty);
65 " = -1 EBADF (%m)\n", &tty);
  /external/strace/tests-m32/
ioctl.c 62 struct termios tty; local
63 (void) ioctl(-1, TCGETS, &tty);
65 " = -1 EBADF (%m)\n", &tty);
  /external/strace/tests-mx32/
ioctl.c 62 struct termios tty; local
63 (void) ioctl(-1, TCGETS, &tty);
65 " = -1 EBADF (%m)\n", &tty);
  /libcore/ojluni/src/main/native/
Console_md.c 58 int tty = fileno(stdin); local
59 if (tcgetattr(tty, &tio) == -1) {
69 if (tcsetattr(tty, TCSANOW, &tio) == -1) {
UNIXProcess_md.c 514 FILE *tty = fopen("/dev/tty", "w"); local
517 vfprintf(tty, format, ap);
519 fclose(tty);
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
test_ioctl.py 10 tty = open("/dev/tty", "r") variable
12 raise unittest.SkipTest("Unable to open /dev/tty")
15 r = fcntl.ioctl(tty, termios.TIOCGPGRP, " ")
16 tty.close()
20 "are attached to /dev/tty")
21 del tty, r, rpgrp
33 tty = open("/dev/tty", "r")
34 r = fcntl.ioctl(tty, termios.TIOCGPGRP, " ")
    [all...]
  /external/python/cpython2/Lib/test/
test_ioctl.py 10 tty = open("/dev/tty", "r") variable
12 raise unittest.SkipTest("Unable to open /dev/tty")
15 r = fcntl.ioctl(tty, termios.TIOCGPGRP, " ")
16 tty.close()
20 "are attached to /dev/tty")
21 del tty, r, rpgrp
33 tty = open("/dev/tty", "r")
34 r = fcntl.ioctl(tty, termios.TIOCGPGRP, " "
    [all...]
  /external/toybox/toys/other/
login.c 50 int hh = toys.optflags&FLAG_h, count, tty; local
54 for (tty=0; tty<3; tty++) if (isatty(tty)) break;
55 if (tty == 3) error_exit("no tty");
111 ttyname(tty), hh ? "from " : "", hh ? TT.hostname : "");
160 ttyname(tty), hh ? "from" : "", hh ? TT.hostname : "");
  /prebuilts/gdb/darwin-x86/lib/python2.7/test/
test_ioctl.py 10 tty = open("/dev/tty", "r") variable
12 raise unittest.SkipTest("Unable to open /dev/tty")
15 r = fcntl.ioctl(tty, termios.TIOCGPGRP, " ")
16 tty.close()
20 "are attached to /dev/tty")
21 del tty, r, rpgrp
33 tty = open("/dev/tty", "r")
34 r = fcntl.ioctl(tty, termios.TIOCGPGRP, " "
    [all...]
  /prebuilts/gdb/linux-x86/lib/python2.7/test/
test_ioctl.py 10 tty = open("/dev/tty", "r") variable
12 raise unittest.SkipTest("Unable to open /dev/tty")
15 r = fcntl.ioctl(tty, termios.TIOCGPGRP, " ")
16 tty.close()
20 "are attached to /dev/tty")
21 del tty, r, rpgrp
33 tty = open("/dev/tty", "r")
34 r = fcntl.ioctl(tty, termios.TIOCGPGRP, " "
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_ioctl.py 10 tty = open("/dev/tty", "r") variable
12 raise unittest.SkipTest("Unable to open /dev/tty")
15 r = fcntl.ioctl(tty, termios.TIOCGPGRP, " ")
16 tty.close()
20 "are attached to /dev/tty")
21 del tty, r, rpgrp
33 tty = open("/dev/tty", "r")
34 r = fcntl.ioctl(tty, termios.TIOCGPGRP, " "
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_ioctl.py 10 tty = open("/dev/tty", "r") variable
12 raise unittest.SkipTest("Unable to open /dev/tty")
15 r = fcntl.ioctl(tty, termios.TIOCGPGRP, " ")
16 tty.close()
20 "are attached to /dev/tty")
21 del tty, r, rpgrp
33 tty = open("/dev/tty", "r")
34 r = fcntl.ioctl(tty, termios.TIOCGPGRP, " "
    [all...]
  /external/openssh/
session.h 39 /* tty */
43 char tty[TTYSZ]; member in struct:Session
loginrec.c 607 if (strncmp(src, "tty", 3) == 0)
846 int tty; local
853 tty=0;
856 tty++;
863 logit("%s: tty not found", __func__);
868 tty = ttyslot(); /* seems only to work for /dev/ttyp? style names */
872 if (tty > 0 && (fd = open(UTMP_FILE, O_RDWR|O_CREAT, 0644)) >= 0) {
875 pos = (off_t)tty * sizeof(struct utmp);
882 logit("%s: Couldn't seek to tty %d slot in %s",
883 __func__, tty, UTMP_FILE)
    [all...]
monitor.c 1506 char *tty; local
    [all...]
session.c 289 * This is called to fork and execute a command when we have no tty. This
472 * This is called to fork and execute a command when we have a tty. This
474 * setting up file descriptors, controlling tty, updating wtmp, utmp,
528 /* Close the master side of the pseudo tty. */
531 /* Make the pseudo tty our controlling tty. */
532 pty_make_controlling_tty(&ttyfd, s->tty);
534 /* Redirect stdin/stdout/stderr from the pseudo tty. */
542 /* Close the extra descriptor for the pseudo tty. */
571 /* Parent. Close the slave side of the pseudo tty. *
620 const char *forced = NULL, *tty = NULL; local
    [all...]
  /external/squashfs-tools/squashfs-tools/
progressbar.c 97 static int tty = -1; local
110 if(tty == -1)
111 tty = isatty(STDOUT_FILENO);
112 if(!tty) {
unsquashfs.c 2407 static int tty = -1; local
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DemoStatusIcons.java 94 String tty = args.getString("tty"); local
95 if (tty != null) {
96 int iconId = tty.equals("show") ? R.drawable.stat_sys_tty_mode
98 updateSlot("tty", null, iconId);
  /device/linaro/bootloader/arm-trusted-firmware/lib/stdlib/
subr_prf.c 73 struct tty *tty; member in struct:putchar_arg
  /device/linaro/bootloader/edk2/EmulatorPkg/Unix/Host/
EmuThunk.c 63 struct termios tty; local
68 tcgetattr (STDIN_FILENO, &tty);
69 tty.c_lflag &= ~(ICANON | ECHO);
70 tcsetattr (STDIN_FILENO, TCSANOW, &tty);
  /external/clang/test/Analysis/
taint-tester.c 59 int tty = xy.y; // expected-warning + {{tainted}} local
  /external/libcups/cups/
usersys.c 578 HANDLE tty; /* Console handle */ local
592 if ((tty = GetStdHandle(STD_INPUT_HANDLE)) == INVALID_HANDLE_VALUE)
595 if (!GetConsoleMode(tty, &mode))
598 if (!SetConsoleMode(tty, 0))
609 * Read the password string from /dev/tty until we get interrupted or get a
616 while (ReadFile(tty, &passch, 1, &passbytes, NULL))
684 SetConsoleMode(tty, mode);
702 int tty; /* /dev/tty - never read from stdin */
717 if ((tty = open("/dev/tty", O_RDONLY)) < 0
    [all...]
  /system/core/adb/
commandline.cpp 118 " ppp TTY [PARAMETER...] run PPP over USB\n"
685 PtyAllocationMode tty = use_shell_protocol ? kPtyAuto : kPtyDefinitely; // -t/-T local
712 tty = kPtyDefinitely;
718 tty = (tty >= kPtyYes) ? kPtyDefinitely : kPtyYes;
721 tty = kPtyNo;
732 if (tty == kPtyNo) {
734 } else if (tty == kPtyAuto) {
735 // If stdin isn't a TTY, default to a raw shell; this lets
741 } else if (tty == kPtyYes)
    [all...]

Completed in 848 milliseconds

1 2 3 4