Home
last modified time | relevance | path

Searched refs:ttyoring (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/telnet/
H A Ddefines.h54 *ttyoring.supply = c; \
55 ttyoring.supply = \
56 (ttyoring.supply+1 < ttyoring.top)? \
57 ttyoring.supply+1 : \
58 ttyoring.supply+1-ttyoring.size; \
59 ttyoring.supplytime = ++ring_clock; \
61 #define TTYBYTES() (ring_full_count(&ttyoring))
62 #define TTYROOM() (ring_empty_count(&ttyoring))
H A Dterminal.c56 Ring ttyoring; variable
77 if (ring_init(&ttyoring, ttyobuf, sizeof (ttyobuf)) != 1) { in init_terminal()
107 n0 = ring_full_count(&ttyoring);
108 if ((n1 = n = ring_full_consecutive(&ttyoring)) > 0) {
113 n = TerminalWrite((char *)ttyoring.consume, n);
120 Dump('>', ttyoring.consume, n);
130 n1 = TerminalWrite((char *)ttyoring.bottom, n1);
139 ring_consumed(&ttyoring, n);
H A Dexterns.h393 extern Ring ttyoring;
H A Dtelnet.c2162 ttyout = ring_full_count(&ttyoring);