in clock_getres, check for null pointer before storing result
[musl.git] / src / unistd / setgid.c
blobbae4616adb3b9432095aa35f35aeeed36b6e17b3
1 #include <unistd.h>
2 #include "syscall.h"
3 #include "libc.h"
5 int setgid(gid_t gid)
7 return __setxid(SYS_setgid, gid, 0, 0);