Name | Synopsis | Description | Parameters | Return Values | Attributes | See Also
cc [ flag... ] file... -lmlib [ library... ] #include <mlib.h> void *mlib_malloc(size_t size);
The mlib_malloc() function allocates size bytes on a 16-byte aligned boundary and returns a pointer to the allocated block.
This function is equivalent to memalign(16, size).
The function returns a pointer to the allocated block if successful. Otherwise it returns a null pointer.
See attributes(5) for descriptions of the following attributes:
ATTRIBUTE TYPE |
ATTRIBUTE VALUE |
---|---|
Interface Stability |
Committed |
MT-Level |
MT-Safe |
Name | Synopsis | Description | Parameters | Return Values | Attributes | See Also