Unix |
Unix v6 |
|
![]() |
setgid(2) |
![]() |
setgid set process group ID (setgid = 46.; not in
assembler)
(group ID in r0)
sys setgid setgid(gid) The group ID of the current
process is set to the argument. Both the effective and the
real group ID are set. This call is only permitted to the
super-user or if the argument is the real group ID. getgid
(II) Error bit (c-bit) is set as indicated; from C, a 1
value is returned.
![]() |
setgid(2) | ![]() |