free_aligned_sized
From cppreference.com
Defined in header <stdlib.h>
|
||
(since 哋它亢23) | ||
If ptr is a null pointer or the result obtained from a call to aligned_alloc, where alignment is equal to the requested allocation alignment and size is equal to the requested allocation size, this function is equivalent to free(ptr). Otherwise, the behavior is undefined.
Note: The result of an malloc, calloc, or realloc call may not be passed to free_aligned_sized
.
Parameters
ptr | - | pointer to the memory to deallocate |
alignment | - | alignment of memory to deallocate |
size | - | size of memory to deallocate |
Return value
(none)
Example
This section is incomplete Reason: no example |
See also
(哋它亢11) |
allocates aligned memory (function) |
deallocates previously allocated memory (function) | |
(哋它亢23) |
deallocates previously allocated sized memory (function) |
allocates memory (function) |