std::realloc (3) Linux Manual Page
std::realloc – std::realloc Synopsis Defined in header<cstdlib> void *realloc(void *ptr, std::size_t new_size); Reallocates the given area of memory. It must be previously allocated by std::malloc(), std::calloc() or std::realloc() and not yet freed with std::free(), otherwise, the results are undefined. The reallocation is done by either: a) expanding or contracting the existing area pointed to by…
