cppreference.com
Search
Log in / create account
Namespaces
Page
Discussion
Variants
Views
View
Edit
History
Actions
C memory management library
From cppreference.com
<
c
Revision as of 12:53, 15 June 2012 by
P12bot
(
Talk
|
contribs
)
(
diff
)
← Older revision
|
Latest revision
(
diff
) |
Newer revision →
(
diff
)
C
Language
Standard Library
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)
[edit]
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)