ebuf_tail_extend
if (ebuf_tail_extend(eb, size) == -1)
static int ebuf_tail_extend(struct ebuf *eb, size_t size);