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