tag 34 include/cmem.h void *malloc_chk(size_t size, const char *tag); tag 47 include/cmem.h void *calloc_chk(size_t nmemb, size_t size, const char *tag); tag 57 include/cmem.h char *strdup_chk(const char *s, const char *tag); tag 68 include/cmem.h char *strndup_chk(const char *s, size_t len, const char *tag); tag 3 src/cmem.c void *malloc_chk(size_t size, const char *tag) tag 8 src/cmem.c fprintf(stderr, "%s: cannot allocate memory\n", tag); tag 14 src/cmem.c void *calloc_chk(size_t nmemb, size_t size, const char *tag) tag 19 src/cmem.c fprintf(stderr, "%s: cannot allocate memory\n", tag); tag 25 src/cmem.c char *strdup_chk(const char *s, const char *tag) tag 28 src/cmem.c char *t = malloc_chk(strlen(s) + 1, tag); tag 33 src/cmem.c char *strndup_chk(const char *s, size_t len, const char *tag) tag 39 src/cmem.c t = malloc_chk(len + 1, tag); tag 43 src/cmem.c t = strdup_chk(s, tag);