if returning errno value directly from a syscall, we need to negate it.
[musl] / src / unistd / _exit.c
1 #include <unistd.h>
2 #include <stdlib.h>
3
4 void _exit(int status)
5 {
6         _Exit(status);
7 }