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

Function _resize_fun

extern/editline/src/readline.c:228–237  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

226}
227
228static void
229_resize_fun(EditLine *el, void *a)
230{
231 const LineInfo *li;
232 char **ap = a;
233
234 li = el_line(el);
235 /* a cheesy way to get rid of const cast. */
236 *ap = memchr(li->buffer, *li->buffer, (size_t)1);
237}
238
239static const char *
240_default_history_file(void)

Callers 1

rl_initializeFunction · 0.85

Calls 1

el_lineFunction · 0.85

Tested by

no test coverage detected