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

Function tty__get_flag

extern/editline/src/tty.c:923–938  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

921
922
923private tcflag_t *
924tty__get_flag(struct termios *t, int kind) {
925 switch (kind) {
926 case MD_INP:
927 return &t->c_iflag;
928 case MD_OUT:
929 return &t->c_oflag;
930 case MD_CTL:
931 return &t->c_cflag;
932 case MD_LIN:
933 return &t->c_lflag;
934 default:
935 abort();
936 /*NOTREACHED*/
937 }
938}
939
940
941private tcflag_t

Callers 2

tty_update_flagsFunction · 0.85
tty_setup_flagsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected