cppreference.com
Search
Log in / create account
Namespaces
Page
Discussion
Variants
Views
View
Edit
History
Actions
C memory management library
From cppreference.com
<
c
C
Language
Type support
Dynamic memory management
Error handling
Program utilities
Date and time utilities
Strings library
Algorithms
Numerics
Input/output support
Localization support
Thread support
(C11)
Atomic operations
(C11)
Dynamic memory management
malloc
calloc
realloc
free
[
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)