ttyin
if (ttyin(cmdbuf, sizeof(cmdbuf) - 2, '/') < 0) {
int ttyin(char *, int, char);
carrier ? ttyin : ttopen);
char ttyin[] = "ttyin";
TTIPRI | PCATCH, ttyin);
error = tsleep_nsec(&tp->t_outq.c_cf, TTIPRI | PCATCH, ttyin,
error = ttysleep(tp, (caddr_t)&tp->t_rawq, TTIPRI|PCATCH, ttyin);
extern char ttyin[], ttyout[], ttopen[], ttclos[], ttybg[];
int process_rings(int netin, int netout, int netex, int ttyin, int ttyout,
process_rings(int netin, int netout, int netex, int ttyin, int ttyout,
if (ttyin) {
int netin, netout, netex, ttyin, ttyout;
ttyin = ring_empty_count(&ttyiring) && (clienteof == 0);
ttyin = ttyout = 0;
returnValue = process_rings(netin, netout, netex, ttyin, ttyout, !block);