lookuppref
static const char *lookuppref(char **, char *);
while ((cp = lookuppref(&bp, ep)) != NULL) {