2 * UCW Library -- Memory Re-allocation
4 * (c) 1997 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.
17 xrealloc(void *old, uns size)
19 /* We assume that realloc(NULL, x) works like malloc(x), which is true with the glibc. */
20 void *x = realloc(old, size);
22 die("Cannot reallocate %d bytes of memory", size);