|
Purpose |
Gets a size value suitable for a call to mallocx() | |
|
Syntax |
size_t mallocxable(size_t size); | |
|
Parameters |
size_t size |
The size with which you want to call mallocx() |
|
Description |
This function tells you how much allocation to ask for to keep the heap aligned. If you wish to bypass calls to this function, be certain that the size passed to mallocx() is:
| |
|
Return values |
Returns a rounded up value of size suitable for a call to mallocx() | |
|
See also |
||