Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ getgid(II) — UNIX 6th Edition

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

setgid (II)

GETGID(II)  −  PWB/UNIX 5/15/74

NAME

getgid  −  get group identifications

SYNOPSIS

(getgid = 47.; not in assembler)
sys getgid getgid( )

DESCRIPTION

Getgid returns a word (in r0), the low byte of which contains the real group ID of the current process.  The high byte contains the effective group ID of the current process.  The real group ID identifies the group of the person who is logged in, in contradistinction to the effective group ID, which determines his access permission at the moment.  It is thus useful to programs which operate using the “set group ID” mode, to find out who invoked them. 

SEE ALSO

setgid (II)

DIAGNOSTICS

−

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