Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NetHack/NetHack
/ nethack_exit
Function
nethack_exit
sys/share/pcsys.c:239–244 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
237
238
#if defined(MICRO) || defined(OS2)
239
void
240
nethack_exit(int code)
241
{
242
msexit();
243
exit(code);
244
}
245
246
/* Chdir back to original directory
247
*/
Callers
5
pcmain.c
File · 0.70
pcmain
Function · 0.70
process_options
Function · 0.70
nh_terminate
Function · 0.50
do_deferred_showpaths
Function · 0.50
Calls
1
msexit
Function · 0.85
Tested by
no test coverage detected