Currently At: Programming Reference > C Reference > Standard C Memory > realloc()

realloc()


Syntax:
#include <stdlib.h>


Description:
The realloc() function changes the size of the object pointed to by ptr to the given size. size can be any size, larger or smaller than the original. The return value is a pointer to the new space, or NULL if there is an error.

Related Topics:
free(), malloc(), calloc()


Web Standards & Support:

Link to and support eLook.org Powered by LoadedWeb Web Hosting
Valid XHTML 1.0! Valid CSS! eLook.org FireFox Extensions