Searched refs:ttybuf (Results 1 - 5 of 5) sorted by relevance
/freebsd-10.0-release/usr.bin/mail/ |
H A D | tty.c | 62 struct termios ttybuf; local 83 if (tcgetattr(fileno(stdin), &ttybuf) < 0) { 87 c_erase = ttybuf.c_cc[VERASE]; 88 c_kill = ttybuf.c_cc[VKILL]; 90 ttybuf.c_cc[VERASE] = _POSIX_VDISABLE; 91 ttybuf.c_cc[VKILL] = _POSIX_VDISABLE; 98 extproc = ((ttybuf.c_lflag & EXTPROC) ? 1 : 0); 112 ttyset++, tcsetattr(fileno(stdin), TCSADRAIN, &ttybuf); local 120 ttyset++, tcsetattr(fileno(stdin), TCSADRAIN, &ttybuf); local 127 ttyset++, tcsetattr(fileno(stdin), TCSADRAIN, &ttybuf); local 135 ttyset++, tcsetattr(fileno(stdin), TCSADRAIN, &ttybuf); local 148 tcsetattr(fileno(stdin), TCSADRAIN, &ttybuf); local [all...] |
/freebsd-10.0-release/usr.bin/wall/ |
H A D | wall.c | 86 char ttybuf[MAXPATHLEN]; local 88 (void)snprintf(ttybuf, sizeof(ttybuf), "%s%s", _PATH_DEV, line); 89 if (stat(ttybuf, &sb) == 0) {
|
/freebsd-10.0-release/usr.bin/who/ |
H A D | who.c | 215 char ttybuf[MAXPATHLEN]; local 217 (void)snprintf(ttybuf, sizeof(ttybuf), "%s%s", _PATH_DEV, line); 218 if (stat(ttybuf, &sb) == 0) {
|
/freebsd-10.0-release/usr.bin/w/ |
H A D | w.c | 496 char ttybuf[MAXPATHLEN]; local 498 (void)snprintf(ttybuf, sizeof(ttybuf), "%s%s", _PATH_DEV, line); 499 if (stat(ttybuf, &sb) == 0 && S_ISCHR(sb.st_mode)) {
|
/freebsd-10.0-release/usr.sbin/lpr/lpd/ |
H A D | printjob.c | 1964 struct termios ttybuf; local 1970 if (tcgetattr(pfd, &ttybuf) < 0) { 1975 cfsetspeed(&ttybuf, pp->baud_rate); 1980 (void) msearch(tmp, &ttybuf); 1984 if (tcsetattr(pfd, TCSAFLUSH, &ttybuf) == -1) {
|
Completed in 68 milliseconds