The getgid callable service gets the real group ID (GID) of the calling process.
Operation | Environment |
---|---|
Authorization: | Supervisor state or problem state, any PSW key |
Dispatchable unit mode: | Task |
Cross memory mode: | PASN = HASN |
AMODE (BPX1GID): | 31-bit |
AMODE (BPX4GID): | 64-bit |
ASC mode: | Primary mode |
Interrupt status: | Enabled for interrupts |
Locks: | Unlocked |
Control parameters: | All parameters must be addressable by the caller and in the primary address space. |
|
AMODE 64 callers use BPX4GID with the same parameter.
The name of a fullword in which the getgid service returns the real group ID.
If this service fails, the process ends abnormally.
There are no restrictions on the use of the getgid service.
For an example using this callable service, see BPX1GID (getgid) example.