3 ms·
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
by ahoka 8y 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).