Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ setgid(II) — UNIX 6th Edition 1.3.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

getgid (II)

SETGID(II)  −  PWB/UNIX 8/5/73

NAME

setgid − set process group ID

SYNOPSIS

(setgid = 46.; not in assembler)
(group ID in r0)
sys setgid setgid(gid)

DESCRIPTION

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. 

SEE ALSO

getgid (II)

DIAGNOSTICS

Error bit (c-bit) is set as indicated; from C, a −1 value is returned. 

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026