setgid.2

来自「UNIX v6源代码 这几乎是最经典的unix版本 unix操作系统设计和莱」· 2 代码 · 共 26 行

2
26
字号
.th SETGID II 8/5/73.sh NAMEsetgid \*- set process group ID.sh SYNOPSIS(setgid = 46.; not in assembler).br(group ID in r0).ft B.brsys setgid.s3setgid(gid).ft R.sh DESCRIPTIONThe group ID of the current process is set tothe argument.Both the effective and the real group ID are set.This call is only permitted to the super-useror if the argument is the real group ID..sh "SEE ALSO"getgid (II).sh DIAGNOSTICSError bit(c-bit) is set as indicated;from C, a \*-1 value is returned.

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?