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

Function clear_history

extern/editline/src/readline.c:1515–1525  ·  view source on GitHub ↗

* clear the history list - delete all entries */

Source from the content-addressed store, hash-verified

1513 * clear the history list - delete all entries
1514 */
1515void
1516clear_history(void)
1517{
1518 HistEvent ev;
1519
1520 if (h == NULL || e == NULL)
1521 rl_initialize();
1522
1523 (void)history(h, &ev, H_CLEAR);
1524 history_length = 0;
1525}
1526
1527
1528/*

Callers

nothing calls this directly

Calls 2

rl_initializeFunction · 0.85
historyClass · 0.85

Tested by

no test coverage detected