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.
16 __attribute__((malloc))
17 void *xmalloc(size_t size);
19 __attribute__((malloc))
20 void *xcalloc(size_t num, size_t size);
22 void *xrealloc(void *ptr, size_t size);
24 __attribute__((malloc))
25 char *xstrdup(const char *str);
27 #define xfree(ptr) free(ptr)