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

Table of Contents

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.