ptr = (pointer)malloc(amount);
if ((long)amount <= 0) FatalError("Bad request for memory");  ptr = malloc(amount);
XNFalloc(unsigned long amount){    register pointer ptr;    if ((long)amount <= 0)        return NULL;    /* aligned extra on long word boundary */    amount = (amount + (sizeof(long) - 1)) & ~(sizeof(long) - 1);    ptr = (pointer)malloc(amount);    if (!ptr)        FatalError("Out of memory");    return ptr;}