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

Function tty_setty

extern/editline/src/tty.c:482–489  ·  view source on GitHub ↗

tty_setty(): * Wrapper for tcsetattr to handle EINTR */

Source from the content-addressed store, hash-verified

480 * Wrapper for tcsetattr to handle EINTR
481 */
482private int
483tty_setty(EditLine *el, int action, const struct termios *t)
484{
485 int rv;
486 while ((rv = tcsetattr(el->el_infd, action, t)) == -1 && errno == EINTR)
487 continue;
488 return rv;
489}
490
491/* tty_setup():
492 * Get the tty parameters and initialize the editing state

Callers 7

tty_setupFunction · 0.85
tty_endFunction · 0.85
tty_rawmodeFunction · 0.85
tty_cookedmodeFunction · 0.85
tty_quotemodeFunction · 0.85
tty_noquotemodeFunction · 0.85
tty_sttyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected