lq-text: ecalloc

char * ecalloc(What, Number, Size) CONST char *What; unsigned int Number; unsigned int Size;

Purpose

Allocates sufficient memory to hold the given Number of objects of the given Size, after taking alignment constraints into account; the system-supplied calloc function is used.

If there is not enough memory, a fatal error is generated. The What argument is included in any such error message, and should be a human-readable description of the error, as an aid to help the user understand exactly what failed.

A future release of lq-text will have an improved memory allocation interface.

Errors

A fatal (E_FATAL | E_MEMORY) error is produced if memory is exhausted.

See Also: