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.
15 xrealloc(void *old, uns size)
17 /* We assume that realloc(NULL, x) works like malloc(x), which is true with the glibc. */
18 void *x = realloc(old, size);
20 die("Cannot reallocate %d bytes of memory", size);