realloc_fun_t

This is not _exactly_ the same as C's realloc function!

extern (C) nothrow @nogc @safe @system nothrow @nogc
alias realloc_fun_t = void* function
(
void* p
,
size_t size
)

Return Value

Pointer to allocated space. This can return either null or

Basically this can implement regular C's malloc, free and realloc, but is not completely identical to C's realloc (see safe_realloc to see why).

Meta