setgid() COHERENT System Call setgid() Set group id and user id int setgid(id) int id; setgid sets the group id. This calls can be used to set group id privileges. (For more information on group id, see exec.) The call is allowed if the real id of the calling process matches id or is the superuser. ***** See Also ***** COHERENT system calls, exec, getuid(), login, setuid() ***** Diagnostics ***** setgid returns zero on success, or -1 on failure. COHERENT Lexicon Page 1