maparound
int maparound(struct mapinfo *, off_t);
if (curoff < map.mapoff && maparound(&map, curoff) != 0) {
if (maparound(mip, startoff) != 0)
if (maparound(&map, curoff) != 0) {