Hacker News new | ask | show | jobs
by ahoka 2807 days ago
I think it would be better to go with char* instead of void*. A much better solution is to use a hashtable for your blocks, but I understand this is just a toy example.

I think he also forgot to implement memalign(3) and posix_memalign(3).