Add a -hbar|-shroll_bar option
[smenu.git] / xmalloc.h
bloba9aaa9710be0608114c329fc4d49d90987fbbde4
1 #ifndef XMALLOC_H
2 #define XMALLOC_H
4 void *
5 rpl_malloc(size_t size);
7 void *
8 rpl_realloc(void *ptr, size_t size);
10 void *
11 xmalloc(size_t size);
13 void *
14 xcalloc(size_t n, size_t size);
16 void *
17 xrealloc(void *ptr, size_t size);
19 char *
20 xstrdup(const char *p);
22 char *
23 xstrndup(const char *str, size_t len);
25 #endif