4 * (c) 2005 Martin Mares <mj@ucw.cz>
21 fprintf(stderr, "cm: ");
22 vfprintf(stderr, c, args);
36 vfprintf(stderr, c, args);
44 void *buf = malloc(size);
46 die("Unable to allocate %d bytes of memory", size);
51 xrealloc(void *old, uns size)
53 void *buf = realloc(old, size);
55 die("Unable to allocate %d bytes of memory", size);
64 uns len = strlen(s) + 1;
65 char *new = xmalloc(len);