Priv to set signal actions
Split libc functions to one function per file

This split will make linking easier and binaries smaller because
linker can skip unneeded object files.