MCPcopy Create free account
hub / github.com/NetHack/NetHack / nh_getegid

Function nh_getegid

sys/unix/unixres.c:188–197  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

186}
187
188gid_t
189nh_getegid(void)
190{
191 gid_t rgid, egid, sgid;
192
193 (void) real_getresgid(&rgid, &egid, &sgid);
194 if (hiding_privileges)
195 egid = rgid;
196 return egid;
197}
198
199#else /* GETRES_SUPPORT */
200

Callers 1

(getegid)Function · 0.85

Calls 1

real_getresgidFunction · 0.85

Tested by

no test coverage detected