Home
last modified time | relevance | path

Searched refs:ttybuf (Results 1 – 5 of 5) sorted by relevance

/freebsd-9-stable/usr.bin/mail/
Dtty.c62 struct termios ttybuf; in grabh() local
83 if (tcgetattr(fileno(stdin), &ttybuf) < 0) { in grabh()
87 c_erase = ttybuf.c_cc[VERASE]; in grabh()
88 c_kill = ttybuf.c_cc[VKILL]; in grabh()
90 ttybuf.c_cc[VERASE] = _POSIX_VDISABLE; in grabh()
91 ttybuf.c_cc[VKILL] = _POSIX_VDISABLE; in grabh()
98 extproc = ((ttybuf.c_lflag & EXTPROC) ? 1 : 0); in grabh()
112 ttyset++, tcsetattr(fileno(stdin), TCSADRAIN, &ttybuf); in grabh()
120 ttyset++, tcsetattr(fileno(stdin), TCSADRAIN, &ttybuf); in grabh()
127 ttyset++, tcsetattr(fileno(stdin), TCSADRAIN, &ttybuf); in grabh()
[all …]
/freebsd-9-stable/usr.bin/who/
Dwho.c204 char ttybuf[MAXPATHLEN]; in ttystat() local
206 (void)snprintf(ttybuf, sizeof(ttybuf), "%s%s", _PATH_DEV, line); in ttystat()
207 if (stat(ttybuf, &sb) == 0) { in ttystat()
/freebsd-9-stable/usr.bin/wall/
Dwall.c86 char ttybuf[MAXPATHLEN]; in ttystat() local
88 (void)snprintf(ttybuf, sizeof(ttybuf), "%s%s", _PATH_DEV, line); in ttystat()
89 if (stat(ttybuf, &sb) == 0) { in ttystat()
/freebsd-9-stable/usr.bin/w/
Dw.c497 char ttybuf[MAXPATHLEN]; in ttystat() local
499 (void)snprintf(ttybuf, sizeof(ttybuf), "%s%s", _PATH_DEV, line); in ttystat()
500 if (stat(ttybuf, &sb) == 0 && S_ISCHR(sb.st_mode)) { in ttystat()
/freebsd-9-stable/usr.sbin/lpr/lpd/
Dprintjob.c1963 struct termios ttybuf; in setty() local
1969 if (tcgetattr(pfd, &ttybuf) < 0) { in setty()
1974 cfsetspeed(&ttybuf, pp->baud_rate); in setty()
1979 (void) msearch(tmp, &ttybuf); in setty()
1983 if (tcsetattr(pfd, TCSAFLUSH, &ttybuf) == -1) { in setty()