make getservby*_r return error code rather than -1 (and using errno)
[musl] / src / unistd / getpgrp.c
1 #include <unistd.h>
2 #include "syscall.h"
3
4 pid_t getpgrp(void)
5 {
6         return __syscall(SYS_getpgrp);
7 }