yvan-sraka / malloc

C dynamic memory allocation functions without dependencies.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

malloc Build Status

This library implement C dynamic memory allocation functions. It use first fit algorithm with a looped double chained list of blocks. It use no dependencies.

Memory allocator:

void* malloc(size_t size);

Free allocated memory:

void free(void *ptr);

Allocate and initialize memory:

void* calloc(size_t number, size_t size);

Change space of allocated memory:

void* realloc(void *ptr, size_t size);

About

C dynamic memory allocation functions without dependencies.

License:GNU General Public License v3.0


Languages

Language:C 77.2%Language:Makefile 10.4%Language:Python 8.3%Language:Objective-C 4.2%