_ZMALLOC - dynamic storage allocation.

(Not in the ANSI standard)

Usage:

#include <sdgstd.h>
ptr = _zmalloc( size );

Where:

size_t size;
tells the number of bytes of memory that should be obtained.
void *ptr;
points to the memory that has been obtained.

Description:

"_zmalloc" works exactly like the standard "malloc" function, except that it aborts the program with an error message if memory cannot be allocated successfully. See "expl c lib malloc" for further details.

See Also:

expl c lib _zrealloc

expl c lib _zfree

Copyright © 1996, Thinkage Ltd.