Searched refs:ttybuf (Results 1 - 5 of 5) sorted by relevance
/freebsd-current/usr.bin/mail/ |
H A D | tty.c | 56 struct termios ttybuf; local 77 if (tcgetattr(fileno(stdin), &ttybuf) < 0) { 81 c_erase = ttybuf.c_cc[VERASE]; 82 c_kill = ttybuf.c_cc[VKILL]; 84 ttybuf.c_cc[VERASE] = _POSIX_VDISABLE; 85 ttybuf.c_cc[VKILL] = _POSIX_VDISABLE; 92 extproc = ((ttybuf.c_lflag & EXTPROC) ? 1 : 0); 106 ttyset++, tcsetattr(fileno(stdin), TCSADRAIN, &ttybuf); local 114 ttyset++, tcsetattr(fileno(stdin), TCSADRAIN, &ttybuf); local 121 ttyset++, tcsetattr(fileno(stdin), TCSADRAIN, &ttybuf); local 129 ttyset++, tcsetattr(fileno(stdin), TCSADRAIN, &ttybuf); local 144 tcsetattr(fileno(stdin), TCSADRAIN, &ttybuf); local [all...] |
/freebsd-current/usr.bin/who/ |
H A D | who.c | 214 char ttybuf[MAXPATHLEN]; local 218 (void)snprintf(ttybuf, sizeof(ttybuf), "%s%s", _PATH_DEV, line); 219 if (stat(ttybuf, &sb) == 0) {
|
/freebsd-current/usr.bin/wall/ |
H A D | wall.c | 74 char ttybuf[MAXPATHLEN]; local 76 (void)snprintf(ttybuf, sizeof(ttybuf), "%s%s", _PATH_DEV, line); 77 if (stat(ttybuf, &sb) == 0) {
|
/freebsd-current/usr.bin/w/ |
H A D | w.c | 560 char ttybuf[MAXPATHLEN]; local 562 (void)snprintf(ttybuf, sizeof(ttybuf), "%s%s", _PATH_DEV, line); 563 if (stat(ttybuf, &sb) == 0 && S_ISCHR(sb.st_mode))
|
/freebsd-current/usr.sbin/lpr/lpd/ |
H A D | printjob.c | 1952 struct termios ttybuf; local 1958 if (tcgetattr(pfd, &ttybuf) < 0) { 1963 cfsetspeed(&ttybuf, pp->baud_rate); 1968 (void) msearch(tmp, &ttybuf); 1972 if (tcsetattr(pfd, TCSAFLUSH, &ttybuf) == -1) {
|
Completed in 93 milliseconds