MCPcopy Create free account
hub / github.com/F-Stack/f-stack / ttyinq_bytesline

Function ttyinq_bytesline

freebsd/sys/ttyqueue.h:124–130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

122}
123
124static __inline size_t
125ttyinq_bytesline(struct ttyinq *ti)
126{
127 MPASS(ti->ti_linestart <= ti->ti_end);
128
129 return (ti->ti_end - ti->ti_linestart);
130}
131
132/* Input buffer iteration. */
133typedef void ttyinq_line_iterator_t(void *data, char c, int flags);

Callers 1

tty_to_xttyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected