history_set_nth
static int history_set_nth(void *, TYPE(HistEvent) *, int);
if (history_set_nth(h, ev, num) != 0)