Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NetHack/NetHack
/ nh_getgid
Function
nh_getgid
sys/unix/unixres.c:179–186 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
177
}
178
179
gid_t
180
nh_getgid(void)
181
{
182
gid_t rgid, egid, sgid;
183
184
(void) real_getresgid(&rgid, &egid, &sgid);
185
return rgid;
186
}
187
188
gid_t
189
nh_getegid(void)
Callers
1
(getgid)
Function · 0.85
Calls
1
real_getresgid
Function · 0.85
Tested by
no test coverage detected