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

Function ttydisc_reprint

freebsd/kern/tty_ttydisc.c:703–716  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

701}
702
703static void
704ttydisc_reprint(struct tty *tp)
705{
706 cc_t c;
707
708 /* Print ^R\n, followed by the line. */
709 c = tp->t_termios.c_cc[VREPRINT];
710 if (c != _POSIX_VDISABLE)
711 ttydisc_echo(tp, c, 0);
712 ttydisc_echo(tp, CNL, 0);
713 ttyinq_reprintpos_reset(&tp->t_inq);
714
715 ttyinq_line_iterate_from_linestart(&tp->t_inq, ttydisc_reprint_char, tp);
716}
717
718struct ttydisc_recalc_length {
719 struct tty *tp;

Callers 2

ttydisc_rubcharFunction · 0.85
ttydisc_rintFunction · 0.85

Calls 3

ttydisc_echoFunction · 0.85
ttyinq_reprintpos_resetFunction · 0.85

Tested by

no test coverage detected