Skip to content

pgonzalezalv/os_project1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Projet 1 - Implementation of malloc, calloc, and free

For our course Systèmes Informatiques I, we had to implement our own, simplified, versions of malloc, calloc et free, that we will call mymalloc, mycalloc et myfree.

Usage

To modify the initial heap size go to line #12 in file ./header.h.

How to compile?

$ make

How to execute?

$ ./exec

How to clean?

$ make clean

Structure

Files without a comment have a descriptive name to understand what they contain :

  • ./header.h contains the header used in each .c file
  • ./LICENSE
  • ./Makefile
  • ./mycalloc.c
  • ./myfree.c
  • ./mymalloc.c
  • ./rapport.pdf
  • ./README.md
  • ./tests.c

Known Issues

./mymalloc.c does not pass our test_mymalloc_2 unit test. See document ./rapport.pdf.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published