add sigprocmask and sigtimedwait
add kill and raise
fix sigtimedwait on AIX
quiet unused warnings
fix strerror_r usage on Linux/glibc
unbreak everything else after Linux strerror_r fix