BSD syscall#127
svc · unix #127
setregid
Sets the real and effective group IDs in one call.
Prototype
int setregid(gid_t rgid, gid_t egid);Returns: int
Arguments
| Name | Type | Dir | Description |
|---|---|---|---|
| rgid | gid_t | - | |
| egid | gid_t | - |
Version history
| XNU tag | macOS | # |
|---|---|---|
| xnu-1456.1.26 | macOS 10.6 Snow Leopard | 127 |
| xnu-1486.2.11 | — | 127 |
| xnu-1504.15.3 | — | 127 |
| xnu-1504.3.12 | — | 127 |
| xnu-1504.7.4 | — | 127 |
| xnu-1504.9.17 | — | 127 |
| xnu-1504.9.26 | — | 127 |
| xnu-1504.9.37 | — | 127 |
Notes
No prose documentation yet.