if returning errno value directly from a syscall, we need to negate it.
[musl] / src / internal / syscall.c