make getservby*_r return error code rather than -1 (and using errno)
[musl] / src / exit / _Exit.c
1 #include <stdlib.h>
2 #include "syscall.h"
3
4 void _Exit(int ec)
5 {
6         __syscall(SYS_exit_group, ec);
7         __syscall(SYS_exit, ec);
8 }