Skip to content

Medno/malloc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

malloc

42 school project: recode malloc, free, realloc, calloc

Setup

Launch the Makefile command in the root repository : make

When libft_malloc.so is ready to use. Launch ./run.sh with a program using those functions.

Prototypes

void  *malloc(size_t size);
void  free(void *ptr);
void  *realloc(void *ptr, size_t size);
void  *calloc(size_t count, size_t size);
void  *reallocf(void *ptr, size_t size);