make getservby*_r return error code rather than -1 (and using errno)
[musl] / src / unistd / setpgrp.c
1 #include <unistd.h>
2
3 pid_t setpgrp(void)
4 {
5         return setpgid(0, 0);
6 }