if returning errno value directly from a syscall, we need to negate it.
[musl] / src / network / h_errno.c
1 int h_errno;