1 2 3 4 5
#include <errno.h> #include <stdlib.h> #include <unistd.h> void *reallocarray(void *optr, size_t nmemb, size_t size);