| /xsrc/external/mit/luit/dist/ |
| H A D | 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 in function:allocatePty 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...] |
| H A D | luit.c | 476 setup_io(int pty) argument 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) argument 522 val = fcntl(pty, F_GETFL, 0); 524 fcntl(pty, F_SETFL, val & ~O_NONBLOCK); 551 int pty; local in function:condom 563 rc = allocatePty(&pty, 651 parent(int pid GCC_UNUSED,int pty) argument [all...] |
| H A D | configure.ac | 40 AC_CHECK_HEADERS([pty.h stropts.h sys/param.h sys/select.h]) 75 AC_CHECK_HEADERS([pty.h stropts.h sys/ioctl.h sys/param.h sys/poll.h sys/select.h sys/time.h termios.h]) 86 pty.h \
|
| H A D | 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/ |
| H A D | 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) argument 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...] |
| H A D | configure.ac | 63 AC_CHECK_HEADERS([util.h libutil.h pty.h], [break])
|
| /xsrc/external/mit/xterm/dist/ |
| H A D | 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" }, 3094 get_pty(int * pty,char * from GCC_UNUSED) argument 3232 get_pty(int * pty,char * from) argument 3274 pty_search(int * pty) argument [all...] |
| H A D | configure.in | 394 AC_MSG_CHECKING(for default pty initial erase setting) 395 AC_ARG_ENABLE(pty-erase, 396 [ --enable-pty-erase set default ptyInitialErase resource (default: maybe)], 399 CF_XBOOL_RESULT(DEF_INITIAL_ERASE,initial_erase,[Define to 1 if default pty initial erase setting is TRUE]) 854 AC_MSG_CHECKING(if you want support for pty-handshaking) 856 CF_ARG_DISABLE(pty-handshake, 857 [ --disable-pty-handshake disable pty-handshake support], 862 AC_DEFINE(OPT_PTY_HANDSHAKE,1,[Define to 1 to disable pty-handshake support]) 864 AC_DEFINE(OPT_PTY_HANDSHAKE,0,[Define to 0 to disable pty [all...] |
| H A D | 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, [all...] |
| H A D | button.c | 1335 erases[0] = (Char) get_tty_erase(screen->respond, XTERM_ERASE, "pty"); 1469 int pty = screen->respond; local in function:ViButton 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 in function:EditorButton 5575 v_write(pty, lin [all...] |
| H A D | aclocal.m4 | 941 AC_MSG_CHECKING(for pty features) 956 CF_MSG_LOG(pty feature test $cf_pty_next:5) 1028 pty.h \ 3200 dnl setting pty ownership. 5641 int pty; 5651 else if ((pty = posix_openpt(O_RDWR)) < 0) 5653 else if (grantpt(pty) < 0) 5655 else if (unlockpt(pty) < 0) 5657 else if ((slave = ptsname(pty)) == 0) 5660 else if (!isatty(pty)) [all...] |
| H A D | misc.c | 588 * XEvent queue. Other sources i.e., the pty are handled elsewhere 1655 int pty = screen->respond; /* file descriptor of pty */ local in function:dabbrev_expand 1728 v_write(pty, copybuffer, buf_cnt);
|