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

  /xsrc/external/mit/luit/dist/
sys.c 62 #include <pty.h>
79 #include <pty.h>
308 "pty is insecure!\n");
317 "pty is insecure!\n");
328 int pty = -1; local
339 pty = posix_openpt(O_RDWR);
341 pty = open("/dev/ptmx", O_RDWR);
343 if (pty < 0)
346 rc = grantpt(pty);
348 close(pty);
    [all...]
luit.c 476 setup_io(int pty)
486 rc = copyTermios(0, pty);
498 val = fcntl(pty, F_GETFL, 0);
500 fcntl(pty, F_SETFL, val | O_NONBLOCK);
503 setWindowSize(0, pty);
509 cleanup_io(int pty)
522 val = fcntl(pty, F_GETFL, 0);
524 fcntl(pty, F_SETFL, val & ~O_NONBLOCK);
551 int pty; local
563 rc = allocatePty(&pty, &line)
    [all...]
configure 10524 for ac_header in pty.h stropts.h sys/param.h sys/select.h
10721 for ac_header in pty.h stropts.h sys/ioctl.h sys/param.h sys/poll.h sys/select.h sys/time.h termios.h
10798 pty.h \
  /xsrc/external/mit/xconsole/dist/
xconsole.c 76 # include <pty.h>
178 static int get_pty(int *pty, int *tty);
764 * This function opens up a pty master and stuffs its value into pty.
767 * so that if a pty master is found and later, we find that the slave
772 get_pty(int *pty, int *tty)
775 if (openpty(pty, tty, NULL, NULL, NULL) == -1) {
783 if ((*pty = open ("/dev/ptmx", O_RDWR)) < 0)
785 grantpt(*pty);
786 unlockpt(*pty);
    [all...]
  /xsrc/external/mit/xterm/dist/
main.c 150 #include <pty.h> /* openpty() */
180 #include <pty.h>
337 #define UTEMPTER_ADD(pty,hostname,master_fd) utempter_add_record(master_fd, hostname)
340 #define UTEMPTER_ADD(pty,hostname,master_fd) addToUtmp(pty, hostname, master_fd)
468 static int pty_search(int * /* pty */ );
471 static int get_pty(int *pty, char *from);
486 static int really_get_pty(int *pty, char *from);
831 static char *passedPty = noPassedPty; /* name if pty if slave */
1282 { "-/+ie", "turn on/off initialization of 'erase' from pty" },
    [all...]
configure 752 --enable-pty-erase set default ptyInitialErase resource (default: maybe)
796 --disable-pty-handshake disable pty-handshake support
16626 int pty;
16636 else if ((pty = posix_openpt(O_RDWR)) < 0)
16638 else if (grantpt(pty) < 0)
16640 else if (unlockpt(pty) < 0)
16642 else if ((slave = ptsname(pty)) == 0)
16645 else if (!isatty(pty))
16649 else if (tcgetattr(pty, &tio) < 0
    [all...]
button.c 1335 erases[0] = (Char) get_tty_erase(screen->respond, XTERM_ERASE, "pty");
1469 int pty = screen->respond; local
1481 v_write(pty, Line, (size_t) 1);
1490 v_write(pty, Line, (size_t) 1);
2288 #define tty_vwrite(pty,lag,l) v_write(pty,lag,(size_t) l)
2464 quote[0] = (Char) get_tty_lnext(screen->respond, XTERM_LNEXT, "pty");
2681 /* SelectionReceived: stuff received selection text into pty */
5411 int pty = screen->respond; local
5575 v_write(pty, line, (size_t) count)
    [all...]
misc.c 588 * XEvent queue. Other sources i.e., the pty are handled elsewhere
1655 int pty = screen->respond; /* file descriptor of pty */ local
1728 v_write(pty, copybuffer, buf_cnt);

Completed in 33 milliseconds