MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / tty_end

Function tty_end

extern/editline/src/tty.c:579–589  ·  view source on GitHub ↗

tty_end(): * Restore the tty to its original settings */

Source from the content-addressed store, hash-verified

577 * Restore the tty to its original settings
578 */
579protected void
580/*ARGSUSED*/
581tty_end(EditLine *el)
582{
583 if (tty_setty(el, TCSAFLUSH, &el->el_tty.t_or) == -1) {
584#ifdef DEBUG_TTY
585 (void) fprintf(el->el_errfile,
586 "%s: tty_setty: %s\n", __func__, strerror(errno));
587#endif /* DEBUG_TTY */
588 }
589}
590
591
592/* tty__getspeed():

Callers 1

el_endFunction · 0.85

Calls 1

tty_settyFunction · 0.85

Tested by

no test coverage detected