1#ifndef TOBI_MEM_H
2#define TOBI_MEM_H
3
4#include <stddef.h>
5
6void *tobi_xmalloc(size_t n);
7
8void *tobi_xcalloc(size_t count, size_t size);
9
10void *tobi_xrealloc(void *ptr, size_t n);
11
12char *tobi_xstrdup(const char *s);
13
14char *tobi_xstrndup(const char *s, size_t n);
15
16#endif