HomeSort by relevance Sort by last modified time
    Searched defs:tty (Results 1 - 25 of 89) 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 29 struct termios tty; local
32 if (ioctl(-1, TCGETS, &tty) != -1 ||
  /external/libvncserver/vncterm/
LinuxVNC.c 7 static int tty=2; variable
56 sprintf(device,"/dev/tty%d",tty);
91 if((tty=atoi(argv[1]))<1) {
102 sprintf(tty_device,"/dev/tty%d",tty);
104 rfbErr("Couldn't open tty device %s!\n",tty_device);
114 sprintf(title,"LinuxVNC: /dev/tty%d",tty);
139 sprintf(tty_device,"/dev/vcs%d",tty);
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
pty.py 11 import tty namespace
69 return (fd, '/dev/tty' + x + y)
121 # Explicitly open the tty to make it become a controlling tty.
169 mode = tty.tcgetattr(STDIN_FILENO)
170 tty.setraw(STDIN_FILENO)
172 except tty.error: # This is the same as termios.error
178 tty.tcsetattr(STDIN_FILENO, tty.TCSAFLUSH, mode)
pydoc.py 1399 import tty namespace
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
pty.py 11 import tty namespace
69 return (fd, '/dev/tty' + x + y)
121 # Explicitly open the tty to make it become a controlling tty.
169 mode = tty.tcgetattr(STDIN_FILENO)
170 tty.setraw(STDIN_FILENO)
172 except tty.error: # This is the same as termios.error
178 tty.tcsetattr(STDIN_FILENO, tty.TCSAFLUSH, mode)
pydoc.py 1399 import tty namespace
    [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...]
test_sundry.py 84 import tty # not available on Windows namespace
87 print "skipping tty"
  /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...]
test_sundry.py 84 import tty # not available on Windows namespace
87 print "skipping tty"
  /external/libvncserver/x11vnc/
linuxfb.c 63 int do_input, have_uinput, tty = -1; local
137 tty = 0;
142 tty = n;
145 tty = n;
152 sprintf(tmp, "/dev/vcsa%d", tty);
243 if (tty >=0 && tty < 64) {
245 sprintf(pipeinput_str, "CONSOLE%d", tty);
pointer.c 1019 int tty = 0, n; local
1022 tty = n;
1024 sprintf(dev, "/dev/tty%d", tty);
  /external/openssh/
session.h 39 /* tty */
43 char tty[TTYSZ]; member in struct:Session
loginrec.c 604 if (strncmp(src, "tty", 3) == 0)
843 int tty; local
850 tty=0;
853 tty++;
860 logit("%s: tty not found", __func__);
865 tty = ttyslot(); /* seems only to work for /dev/ttyp? style names */
869 if (tty > 0 && (fd = open(UTMP_FILE, O_RDWR|O_CREAT, 0644)) >= 0) {
872 pos = (off_t)tty * sizeof(struct utmp);
879 logit("%s: Couldn't seek to tty %d slot in %s",
880 __func__, tty, UTMP_FILE)
    [all...]
session.c 430 * This is called to fork and execute a command when we have no tty. This
624 * This is called to fork and execute a command when we have a tty. This
626 * setting up file descriptors, controlling tty, updating wtmp, utmp,
680 /* Close the master side of the pseudo tty. */
683 /* Make the pseudo tty our controlling tty. */
684 pty_make_controlling_tty(&ttyfd, s->tty);
686 /* Redirect stdin/stdout/stderr from the pseudo tty. */
694 /* Close the extra descriptor for the pseudo tty. */
729 /* Parent. Close the slave side of the pseudo tty. *
782 char session_type[1024], *tty = NULL; local
    [all...]
monitor.c 1583 char *tty; 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 2401 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);
  /external/wpa_supplicant_8/wpa_supplicant/examples/
p2p-nfc.py 368 import sys, tty, termios namespace
378 import sys, tty, termios, select namespace
384 tty.setraw(fd)
  /external/clang/test/Analysis/
taint-tester.c 59 int tty = xy.y; // expected-warning + {{tainted}} local
  /external/lldb/test/pexpect-2.4/
pexpect.py 76 import tty namespace
304 of bytes that Pexpect will try to read from a TTY at one time. Setting
609 """This makes the pseudo-terminal the controlling tty. This should be
615 # Disconnect from controlling tty if still connected.
617 fd = os.open("/dev/tty", os.O_RDWR | os.O_NOCTTY);
626 # Verify we are disconnected from controlling tty
628 fd = os.open("/dev/tty", os.O_RDWR | os.O_NOCTTY);
631 raise ExceptionPexpect, "Error! We are not disconnected from a controlling tty."
633 # Good! We are disconnected from a controlling tty.
643 # Verify we now have a controlling tty
    [all...]
  /development/ndk/platforms/android-3/include/linux/
wanrouter.h 162 char tty; member in struct:wandev_conf
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/linux/
wanrouter.h 224 char tty; /* Create a fake tty device */ member in struct:wandev_conf
225 unsigned tty_major; /* Major number for wanpipe tty device */
226 unsigned tty_minor; /* Minor number for wanpipe tty device */
227 unsigned tty_mode; /* TTY operation mode SYNC or ASYNC */

Completed in 692 milliseconds

1 2 3 4