Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NetHack/NetHack
/ nh_getuid
Function
nh_getuid
sys/unix/unixres.c:149–156 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
147
}
148
149
uid_t
150
nh_getuid(void)
151
{
152
uid_t ruid, euid, suid;
153
154
(void) real_getresuid(&ruid, &euid, &suid);
155
return ruid;
156
}
157
158
uid_t
159
nh_geteuid(void)
Callers
1
(getuid)
Function · 0.85
Calls
1
real_getresuid
Function · 0.85
Tested by
no test coverage detected