3 ms·
Here is an example of a more complete, but still 'student level' malloc (2nd year 42 project) https://github.com/Jibus22/malloc/blob/main/srcs/malloc.c https:
by orwin 3y ago
Here is an example of a more complete, but still 'student level' malloc (2nd year 42 project)
https://github.com/Jibus22/malloc/blob/main/srcs/malloc.c https://github.com/Jibus22/malloc/blob/main/srcs/malloc.c
[edit] : the header file is better to understand how everything work : https://github.com/Jibus22/malloc/blob/main/srcs/includes/malloc.h https://github.com/Jibus22/malloc/blob/main/srcs/includes/ma...
This is not a real malloc(3),but this is better than the OP to understand the bases.