Namespaces
Variants
Views
Actions

free_aligned_sized

From cppreference.com
< c‎ | memory
Defined in header <stdlib.h>
void free_aligned_sized( void* ptr, size_t alignment, size_t size);
(since C23)

Deallocates the space previously allocated by malloc(), calloc(), aligned_alloc(), (since C11) or realloc().

[edit] Parameters

ptr - pointer to the memory to deallocate
alignment - alignment of memory to deallocate
size - size of memory to deallocate

[edit] Return value

(none)

[edit] See also

deallocates previously allocated memory
(function) [edit]
deallocates previously allocated sized memory
(function) [edit]
allocates memory
(function) [edit]