henry@utzoo.UUCP (Henry Spencer) (05/19/84)
Minor new utility function: emalloc(3) is a variant of malloc(3) that
does the same thing unless malloc() is unable to allocate the requested
memory. When this happens, emalloc() invokes error(3) to print a message
and exit. This is a convenience when the return from malloc() should be
checked [i.e., always] but there is nothing useful to be done when it fails.
--
Henry Spencer @ U of Toronto Zoology
{allegra,ihnp4,linus,decvax}!utzoo!henry