Home
last modified time | relevance | path

Searched refs:newbuf (Results 1 – 1 of 1) sorted by relevance

/libedit-20250104-3.1/src/
Dhist.c228 wchar_t *newbuf; in hist_enlargebuf() local
230 newbuf = el_realloc(el->el_history.buf, newsz * sizeof(*newbuf)); in hist_enlargebuf()
231 if (!newbuf) in hist_enlargebuf()
234 (void) memset(&newbuf[oldsz], '\0', (newsz - oldsz) * sizeof(*newbuf)); in hist_enlargebuf()
236 el->el_history.last = newbuf + in hist_enlargebuf()
238 el->el_history.buf = newbuf; in hist_enlargebuf()