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

Function el_gets

extern/editline/src/eln.c:74–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72
73
74public const char *
75el_gets(EditLine *el, int *nread)
76{
77 const wchar_t *tmp;
78
79 if (!(el->el_flags & CHARSET_IS_UTF8))
80 el->el_flags |= IGNORE_EXTCHARS;
81 tmp = el_wgets(el, nread);
82 if (!(el->el_flags & CHARSET_IS_UTF8))
83 el->el_flags &= ~IGNORE_EXTCHARS;
84 return ct_encode_string(tmp, &el->el_lgcyconv);
85}
86
87
88public int

Callers 2

readlineFunction · 0.85
rl_callback_read_charFunction · 0.85

Calls 1

ct_encode_stringFunction · 0.85

Tested by

no test coverage detected