fix out of bounds write for zero length buffer in gethostname
[musl] / src / unistd / setpgrp.c
1 #include <unistd.h>
2
3 pid_t setpgrp(void)
4 {
5         return setpgid(0, 0);
6 }