# malloc.h - [Overview](#section1352232287165628) - [Summary](#section1287219182165628) - [Functions](#func-members) ## **Overview** **Related Modules:** [MEM](MEM.md) **Description:** Declares APIs for allocating and releasing memory. **Since:** 1.0 **Version:** 1.0 ## **Summary** ## Functions
malloc (size_t size) |
Dynamically allocates a block of uninitialized memory with the specified size. |
calloc (size_t nmemb, size_t size) |
Dynamically allocates multiple blocks of memory with the specified size. |
realloc (void *ptr, size_t size) |
Changes the size of a previously allocated memory block pointed to by ptr to the specified size. |
free (void *ptr) |
|
memalign (size_t alignment, size_t size) |
Allocates a block of memory with the specified size based on the given alignment mode. |
malloc_usable_size (void *ptr) |