libutil: Add enreallocarray

This commit is contained in:
Michael Forney
2019-04-16 17:41:39 -07:00
parent 5d49332d4f
commit 3fec3e2f4c
2 changed files with 8 additions and 1 deletions

1
util.h
View File

@@ -32,6 +32,7 @@ char *estrndup(const char *, size_t);
void *encalloc(int, size_t, size_t);
void *enmalloc(int, size_t);
void *enrealloc(int, void *, size_t);
void *enreallocarray(int, void *, size_t, size_t);
char *enstrdup(int, const char *);
char *enstrndup(int, const char *, size_t);