Skip to content

ClecioJung/alloc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

alloc

Overview

alloc is a simple allocator written in C. It posseses the following characteristics:

  • Written in C99;
  • It is an implicit free list memory allocator;
  • Check the main.c file for an usage example;
  • This code is platform dependent and will work only on Linux;
  • Uses the mmap syscall;
  • It is not recomended to use this allocator in practice. This was only an learning exercise. Insted, use the malloc/free functions;

Usage

Download this project and compile it by typing the command make in its folder. Next, just run the executable ./alloc. Like this:

make
./alloc

About

Simple memory allocator in C

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published