Skip to content

SadS4ndWiCh/sadloc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

9 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿช sadloc

Creating a custom memory allocator with C using the sbrk syscall.

โœจ Functions

void *sadloc(size_t size);
void sadfree(void *block);
void *sadcloc(size_t nmemb, size_t size);
void *sadreloc(void *ptr, size_t size);

๐Ÿช… TODO

  • sadloc (malloc)
  • sadfree (free)
  • sadcloc (calloc)
  • sadreloc (realloc)

๐ŸŽ  Tests

$ make <function>_test

$ make sadloc_test

๐Ÿ“– References

About

๐Ÿช Simple custom memory allocator.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published