minix/lib/posix/_setgid.c

13 lines
172 B
C
Raw Normal View History

2005-04-21 16:53:53 +02:00
#include <lib.h>
#define setgid _setgid
#include <unistd.h>
PUBLIC int setgid(grp)
gid_t grp;
{
message m;
m.m1_i1 = (int) grp;
return(_syscall(MM, SETGID, &m));
}