Spec-Zone.ru › C++

C memory management library

Functions

Defined in header <cstdlib>
malloc
allocates memory
(function)
aligned_alloc
(C++17)
allocates aligned memory
(function)
calloc
allocates and zeroes memory
(function)
realloc
expands or shrinks previously allocated memory block
(function)
free
deallocates previously allocated memory
(function)
free_sized
(C++26)
deallocates previously allocated sized memory
(function)
free_aligned_sized
(C++26)
deallocates previously allocated sized and aligned memory
(function)
memalignment
(C++26)
returns the maximum alignment satisfied by the given address
(function)

See also

C documentation for C memory management library

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/cpp/memory/c

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API