getnextmatch
static char *getnextmatch(struct srch *, int);
while (!errflag && (entry = getnextmatch(searchlist, options))) {