morepages
if (morepages(NPOOLPAGES) == 0)
if (morepages(amt/pagesz + NPOOLPAGES) == 0)
static int morepages();