Changed NULL to 0
Fixed return type
Libc directory restructure