Skip to content

Latest commit

 

History

History
14 lines (9 loc) · 497 Bytes

README.md

File metadata and controls

14 lines (9 loc) · 497 Bytes

mmap_allocator

Basic allocator for mmap memory

At this moment, you can create mmap shared memory (create_shared_memory) and use the allocator (mmap_alloc) to malloc any kind of things by just passing the mmap start pointer and the size.

All variable can be free by using mmap_free.

Example are provided in example.c

make example: build example binary make: build .a lib

By Lucas Alloin https://github.com/LucasALLOIN Thanks to Alexandre Fourcat https://github.com/Afourcat for the Makefile