Searched refs:el_infd (Results 1 – 6 of 6) sorted by relevance
/external/libedit/src/ |
D | read.c | 199 (void) ioctl(el->el_infd, FIONREAD, &chrs); in read_preread() 203 chrs = read(el->el_infd, buf, in read_preread() 323 while ((num_read = read(el->el_infd, cbuf + cbp, (size_t)1)) == -1) { in read_char() 335 if (!tried && read__fixio(el->el_infd, e) == 0) in read_char() 531 (void) ioctl(el->el_infd, FIONREAD, &chrs); in FUN()
|
D | el.h | 121 int el_infd; /* Input file descriptor */ member
|
D | readline.c | 2066 if (ioctl(el->el_infd, FIONREAD, &n) < 0) in _rl_event_read_char() 2069 num_read = read(el->el_infd, cp, (size_t)1); in _rl_event_read_char() 2073 if ((n = fcntl(el->el_infd, F_GETFL, 0)) < 0) in _rl_event_read_char() 2075 if (fcntl(el->el_infd, F_SETFL, n|O_NDELAY) < 0) in _rl_event_read_char() 2077 num_read = read(el->el_infd, cp, 1); in _rl_event_read_char() 2078 if (fcntl(el->el_infd, F_SETFL, n)) in _rl_event_read_char() 2082 num_read = read(el->el_infd, cp, 1); in _rl_event_read_char()
|
D | el.c | 109 el->el_infd = fdin; in el_init_fd() 369 el->el_infd = fileno(fp); in FUN()
|
D | tty.c | 472 while ((rv = tcgetattr(el->el_infd, t)) == -1 && errno == EINTR) in tty_getty() 484 while ((rv = tcsetattr(el->el_infd, action, t)) == -1 && errno == EINTR) in tty_setty()
|
D | terminal.c | 956 if (ioctl(el->el_infd, TIOCGWINSZ, &ws) != -1) { in terminal_get_size() 967 if (ioctl(el->el_infd, TIOCGSIZE, &ts) != -1) { in terminal_get_size()
|