Allocates a block of heap memory.
#include <stdlib.h> void *_malloc(size_t size);
size
The number of contiguous characters to allocate.
The _ malloc() function allocates a block of contiguous heap memory size bytes large. If the argument for _ malloc() is zero the behavior is unspecified. Dependent upon the system, either a null pointer is returned, or the behavior is as if the size was not zero, except that the returned pointer can not be used to access an object.
_malloc() returns a pointer to the first byte of the allocated block if it is successful and return a null pointer if it fails.