2 * UCW Library -- Memory Allocation
4 * (c) 2000 Martin Mares <mj@ucw.cz>
6 * This software may be freely distributed and used according to the terms
7 * of the GNU Lesser General Public License.
20 void *x = malloc(size);
22 die("Cannot allocate %d bytes of memory", size);
29 xmalloc_zero(uns size)
31 void *x = xmalloc(size);
40 * Maybe it is a little waste of resources to make this a function instead
41 * of a macro, but xmalloc() is not used for anything critical anyway,
42 * so let's prefer simplicity.