mem.h (269B)
1 #ifndef MEM_H_INCLUDED 2 #define MEM_H_INCLUDED 3 4 #include <stddef.h> 5 6 void *ccalloc(size_t n, size_t size); 7 void *crealloc(void *ptr, size_t new_size); 8 char *cstrdup(const char *s); 9 char *casprintf(const char *fmt, ...) __attribute__((__format__(printf, 1, 2))); 10 11 #endif