MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / ttyinq_bytescanonicalized

Function ttyinq_bytescanonicalized

components/lwp/terminal/bsd_ttyqueue.h:122–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120}
121
122rt_inline size_t ttyinq_bytescanonicalized(struct ttyinq *ti)
123{
124 MPASS(ti->ti_begin <= ti->ti_linestart);
125
126 return (ti->ti_linestart - ti->ti_begin);
127}
128
129rt_inline size_t ttyinq_bytesline(struct ttyinq *ti)
130{

Callers 4

ttydisc_read_pollFunction · 0.85
ttydisc_readFunction · 0.85
ttydisc_rintFunction · 0.85
tty_generic_ioctlFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected