# mco_sys_realloc
RT

> The wrapper for C function `realloc()`or its equivalent in the given system - reallocate heap memory.

> ### For an overview see page eXtremeDB System Wrappers

### Prototype

        void * mco_sys_realloc(	/*IN*/ void * p,
                    /*IN*/ mco_size_t new_size );

### Arguments

p | A pointer to memory block to reallocate
new_size | The size of the new memory block

### Description

> This function reallocates a block of memory previously allocated by `mco_sys_malloc()`. It resembles the standard C function `realloc()`or its equivalent in the given system .

### Return Codes

void * | A pointer to the reallocated memory block

### Files

Header file:
mco.h
Source file:
mcosalhollow.c
Library:
libmcosalhollow.a
Header file:
mco.h
Source file:
mcosysmem.c
Library:
libmcosalmem.a