C memory management library - cppreference.com

##### 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) [edit]
calloc | allocates and zeroes memory (function) [edit]
realloc | expands previously allocated memory block (function) [edit]
free | deallocates previously allocated memory (function) [edit]
aligned_alloc (C11) | allocates aligned memory (function) [edit]

### [edit] See also

C++ documentation for C memory management library

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