MGE General C Library - Full Internal Documentation  v1.3.5
Library of general C functions.
Memory

mg_realloc

mg_realloc is a wrapper for realloc adding error handling in terms of setting mge_errno and logging a message to syslog.

If you pass NULL to the function it behaves like realloc, that is to say it behaves like malloc.