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

Function ttyoutq_getsize

freebsd/sys/ttyqueue.h:148–152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

146int ttyoutq_write_nofrag(struct ttyoutq *to, const void *buf, size_t len);
147
148static __inline size_t
149ttyoutq_getsize(struct ttyoutq *to)
150{
151 return (to->to_nblocks * TTYOUTQ_DATASIZE);
152}
153
154static __inline size_t
155ttyoutq_getallocatedsize(struct ttyoutq *to)

Callers 1

tty_to_xttyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected