Searched refs:newbuf (Results 1 – 1 of 1) sorted by relevance
228 wchar_t *newbuf; in hist_enlargebuf() local230 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()