Searched refs:ttybuf (Results 1 - 5 of 5) sorted by relevance
/freebsd-12-stable/usr.bin/mail/ |
H A D | tty.c | 64 struct termios ttybuf; local 85 if (tcgetattr(fileno(stdin), &ttybuf) < 0) { 89 c_erase = ttybuf.c_cc[VERASE]; 90 c_kill = ttybuf.c_cc[VKILL]; 92 ttybuf.c_cc[VERASE] = _POSIX_VDISABLE; 93 ttybuf.c_cc[VKILL] = _POSIX_VDISABLE; 100 extproc = ((ttybuf.c_lflag & EXTPROC) ? 1 : 0); 114 ttyset++, tcsetattr(fileno(stdin), TCSADRAIN, &ttybuf); local 122 ttyset++, tcsetattr(fileno(stdin), TCSADRAIN, &ttybuf); local 129 ttyset++, tcsetattr(fileno(stdin), TCSADRAIN, &ttybuf); local 137 ttyset++, tcsetattr(fileno(stdin), TCSADRAIN, &ttybuf); local 150 tcsetattr(fileno(stdin), TCSADRAIN, &ttybuf); local [all...] |
/freebsd-12-stable/usr.bin/wall/ |
H A D | wall.c | 88 char ttybuf[MAXPATHLEN]; local 90 (void)snprintf(ttybuf, sizeof(ttybuf), "%s%s", _PATH_DEV, line); 91 if (stat(ttybuf, &sb) == 0) {
|
/freebsd-12-stable/usr.bin/who/ |
H A D | who.c | 217 char ttybuf[MAXPATHLEN]; local 219 (void)snprintf(ttybuf, sizeof(ttybuf), "%s%s", _PATH_DEV, line); 220 if (stat(ttybuf, &sb) == 0) {
|
/freebsd-12-stable/usr.bin/w/ |
H A D | w.c | 561 char ttybuf[MAXPATHLEN]; local 563 (void)snprintf(ttybuf, sizeof(ttybuf), "%s%s", _PATH_DEV, line); 564 if (stat(ttybuf, &sb) == 0 && S_ISCHR(sb.st_mode)) {
|
/freebsd-12-stable/usr.sbin/lpr/lpd/ |
H A D | printjob.c | 1966 struct termios ttybuf; local 1972 if (tcgetattr(pfd, &ttybuf) < 0) { 1977 cfsetspeed(&ttybuf, pp->baud_rate); 1982 (void) msearch(tmp, &ttybuf); 1986 if (tcsetattr(pfd, TCSAFLUSH, &ttybuf) == -1) {
|
Completed in 123 milliseconds