malloc.c

The libc implementation

Author

Martin ‘Solar’ Baute

License

Public Domain

Todo’s

Primitive placeholder.  Much room for improvement.

Functions

malloc

void * malloc(size_t size)

Allocates size bytes of memory

Returns a pointer to the allocated memory location.

Returns NULL if the memory could not be allocated.

Todo’s

Shouldn’t realloc() split the now much-too-large node?

void * malloc(size_t size)
Allocates size bytes of memory