HomeSort by: relevance | last modified time | path
    Searched refs:ttyfd (Results 1 - 2 of 2) sorted by relevancy

  /xsrc/external/mit/xdm/dist/xdmshell/
xdmshell.c 109 int ttyfd; local
120 ttyfd = open ("/dev/tty", O_RDWR, 0);
121 if (ttyfd < 3) { /* stdin = 0, stdout = 1, stderr = 2 */
127 (void) close (ttyfd);
  /xsrc/external/mit/xterm/dist/
main.c 3927 int ttyfd = -1; local
4024 ttyfd = open("/dev/tty", O_RDWR);
4029 ttyfd = -1;
4053 if (ttyfd < 0) {
4092 if (ioctl(ttyfd, TIOCGLTC, &ltc) == -1)
4096 if (ioctl(ttyfd, TIOCLGET, &lmode) == -1)
4100 rc = ttyGetAttr(ttyfd, &tio);
4104 rc = ioctl(ttyfd, TIOCGETP, (char *) &sg);
4107 if (ioctl(ttyfd, TIOCGETC, (char *) &tc) == -1)
4109 if (ioctl(ttyfd, TIOCGETD, (char *) &discipline) == -1
    [all...]

Completed in 7 milliseconds