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

Function nh_getresgid

sys/unix/unixres.c:169–177  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

167}
168
169int
170nh_getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid)
171{
172 int retval = real_getresgid(rgid, egid, sgid);
173
174 if (!retval && hiding_privileges)
175 *egid = *sgid = *rgid;
176 return retval;
177}
178
179gid_t
180nh_getgid(void)

Callers 1

(getresgid)Function · 0.85

Calls 1

real_getresgidFunction · 0.85

Tested by

no test coverage detected