_setgid.c 196 B

12345678910
  1. #include <lib.h>
  2. #include <sys/types.h>
  3. #define setgid _setgid
  4. #include <unistd.h>
  5. PUBLIC int setgid(grp)
  6. gid_t grp;
  7. {
  8. return(_callm1(MM, SETGID, (int)grp, 0, 0, NIL_PTR, NIL_PTR, NIL_PTR));
  9. }