Research V4 development
[unix-history] / man / man2 / setgid.2
CommitLineData
66a6884f
KT
1.th SETGID II 8/5/73
2.sh NAME
3setgid \*- set process group ID
4.sh SYNOPSIS
5(setgid = 46.; not in assembler)
6.br
7(group ID in r0)
8.ft B
9.br
10sys setgid
11.s3
12setgid(gid)
13.ft R
14.sh DESCRIPTION
15The group ID of the current process is set to
16the argument.
17Both the effective and the real group ID are set.
18This call is only permitted to the super-user
19or if the argument is the real group ID.
20.sh "SEE ALSO"
21getgid(II)
22.sh DIAGNOSTICS
23Error bit
24(c-bit) is set as indicated;
25from C, a \*-1 value is returned.