3 * @brief More comfortable allocations.
4 * @author Markus Armbruster
5 * @data 1999 by getting from fiasco
7 * Copyright: (c) 1995, 1996 Markus Armbruster
8 * Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE.
15 __attribute__((malloc))
16 void *xmalloc(size_t size);
18 __attribute__((malloc))
19 void *xcalloc(size_t num, size_t size);
21 void *xrealloc(void *ptr, size_t size);
23 __attribute__((malloc))
24 char *xstrdup(const char *str);
26 #define xfree(ptr) free(ptr)