Skip to content

Latest commit

 

History

History
26 lines (21 loc) · 599 Bytes

README.md

File metadata and controls

26 lines (21 loc) · 599 Bytes

malloc Build Status

This library implement C dynamic memory allocation functions. It use first fit algorithm with a looped double chained list of blocks. It use no dependencies.

Memory allocator:

void* malloc(size_t size);

Free allocated memory:

void free(void *ptr);

Allocate and initialize memory:

void* calloc(size_t number, size_t size);

Change space of allocated memory:

void* realloc(void *ptr, size_t size);