Add recallocarray

This commit is contained in:
kinichiro
2017-03-09 22:49:04 +09:00
parent 27f0879030
commit 8877e9bc55
5 changed files with 20 additions and 1 deletions

View File

@@ -29,6 +29,10 @@ uint32_t arc4random_uniform(uint32_t upper_bound);
void *reallocarray(void *, size_t, size_t);
#endif
#ifndef HAVE_RECALLOCARRAY
void *recallocarray(void *, size_t, size_t, size_t);
#endif
#ifndef HAVE_STRTONUM
long long strtonum(const char *nptr, long long minval,
long long maxval, const char **errstr);