##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# C memory management library

From cppreference.com
< c

### [edit] Functions

Defined in header `<stdlib.h>`
malloc | allocates memory (function)
calloc | allocates and zeroes memory (function)
realloc | expands previously allocated memory block (function)
free | deallocates previously allocated memory (function)
aligned_alloc (C11) | allocates aligned memory (function)

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=c/memory&oldid=66066"