Add xrecallocarray.

This commit is contained in:
nicm
2019-11-28 09:51:58 +00:00
parent 9ea05b2fb3
commit c416fe0da4
2 changed files with 15 additions and 0 deletions

View File

@ -23,6 +23,7 @@ void *xmalloc(size_t);
void *xcalloc(size_t, size_t);
void *xrealloc(void *, size_t);
void *xreallocarray(void *, size_t, size_t);
void *xrecallocarray(void *, size_t, size_t, size_t);
char *xstrdup(const char *);
char *xstrndup(const char *, size_t);
int xasprintf(char **, const char *, ...)