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

Function ed_quoted_insert

extern/editline/src/common.c:358–372  ·  view source on GitHub ↗

ed_quoted_insert(): * Add the next character typed verbatim * [^V] [^V] */

Source from the content-addressed store, hash-verified

356 * [^V] [^V]
357 */
358protected el_action_t
359ed_quoted_insert(EditLine *el, Int c)
360{
361 int num;
362 Char tc;
363
364 tty_quotemode(el);
365 num = FUN(el,getc)(el, &tc);
366 c = tc;
367 tty_noquotemode(el);
368 if (num == 1)
369 return ed_insert(el, c);
370 else
371 return ed_end_of_file(el, 0);
372}
373
374
375/* ed_digit():

Callers

nothing calls this directly

Calls 4

tty_quotemodeFunction · 0.85
tty_noquotemodeFunction · 0.85
ed_insertFunction · 0.85
ed_end_of_fileFunction · 0.85

Tested by

no test coverage detected