lookup_once
error = lookup_once(state, searchdir, &searchdir,
error = lookup_once(state, startdir, &startdir, &foundobj,