. pci driver now returns devices, even when they have been pci_reserve()d
[minix3.git] / lib / posix / _setgid.c
blob66270ad15134fab60618c8c4d683f2638ffb03d4
1 #include <lib.h>
2 #define setgid _setgid
3 #define setegid _setegid
4 #include <unistd.h>
6 PUBLIC int setgid(grp)
7 gid_t grp;
9 message m;
11 m.m1_i1 = (int) grp;
12 return(_syscall(MM, SETGID, &m));
15 PUBLIC int setegid(grp)
16 gid_t grp;
18 message m;
20 m.m1_i1 = (int) grp;
21 return(_syscall(MM, SETEGID, &m));