OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ttybuf
(Results
1 - 6
of
6
) sorted by relevancy
/src/usr.bin/finger/
lprint.c
177
char timebuf[128],
ttybuf
[64], hostbuf[512];
local
242
visify(
ttybuf
, sizeof(
ttybuf
), w->tty);
243
if ((len = strlen(
ttybuf
)) > maxlen)
248
ttylen = visify(
ttybuf
, sizeof(
ttybuf
), w->tty);
253
cpr = printf("On since %s on %s", timebuf,
ttybuf
);
267
cpr = printf("Last login %s on %s", timebuf,
ttybuf
);
/src/usr.bin/mail/
tty.c
289
struct termios
ttybuf
;
local
294
if (save_erase_and_kill(&
ttybuf
))
298
extproc = ((
ttybuf
.c_lflag & EXTPROC) ? 1 : 0);
322
disable_erase_and_kill(&
ttybuf
);
358
restore_erase_and_kill(&
ttybuf
);
popen.c
442
struct termios
ttybuf
;
local
466
if ((tcrval = tcgetattr(fileno(stdin), &
ttybuf
)) == -1)
476
if (tcrval != -1 && tcsetattr(fileno(stdin), TCSADRAIN, &
ttybuf
) == -1)
complete.c
1105
struct termios
ttybuf
;
local
1110
if (tcgetattr(fileno(stdin), &
ttybuf
) == -1)
1113
(void)vis(buf,
ttybuf
.c_cc[VINTR], VIS_SAFE | VIS_NOSLASH, 0);
/src/libexec/comsat/
comsat.c
225
struct termios
ttybuf
;
local
258
if (tcgetattr(fileno(tp), &
ttybuf
) == -1) {
262
cr = (
ttybuf
.c_oflag & ONLCR) && (
ttybuf
.c_oflag & OPOST) ?
/src/usr.bin/w/
w.c
534
char
ttybuf
[MAXPATHLEN];
local
536
(void)snprintf(
ttybuf
, sizeof(
ttybuf
), "%s%s", _PATH_DEV, line);
537
return stat(
ttybuf
, st);
Completed in 226 milliseconds
Indexes created Sun Feb 15 12:34:49 CET 2026