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

Function ttydisc_recalc_linelength

freebsd/kern/tty_ttydisc.c:739–747  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

737}
738
739static unsigned int
740ttydisc_recalc_linelength(struct tty *tp)
741{
742 struct ttydisc_recalc_length data = { tp, tp->t_writepos };
743
744 ttyinq_line_iterate_from_reprintpos(&tp->t_inq,
745 ttydisc_recalc_charlength, &data);
746 return (data.curlen);
747}
748
749static int
750ttydisc_rubchar(struct tty *tp)

Callers 1

ttydisc_rubcharFunction · 0.85

Tested by

no test coverage detected