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

Function rl_insert_text

extern/editline/src/readline.c:1922–1934  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1920}
1921
1922int
1923rl_insert_text(const char *text)
1924{
1925 if (!text || *text == 0)
1926 return 0;
1927
1928 if (h == NULL || e == NULL)
1929 rl_initialize();
1930
1931 if (el_insertstr(e, text) < 0)
1932 return 0;
1933 return (int)strlen(text);
1934}
1935
1936/*ARGSUSED*/
1937int

Callers

nothing calls this directly

Calls 2

rl_initializeFunction · 0.85
el_insertstrFunction · 0.85

Tested by

no test coverage detected