Just a note. Be careful with void* pointers. In D it have a 32bit length on x86 machines and 64bit length on x86_64 machines. Probaly in C with different compilers it's may vary.