MCPcopy Create free account
hub / github.com/crownengine/crown / exit

Function exit

3rdparty/bx/src/os.cpp:364–376  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

362 }
363
364 void exit(int32_t _exitCode, bool _cleanup)
365 {
366 if (_cleanup)
367 {
368 ::exit(_exitCode);
369 }
370
371#if BX_PLATFORM_WINDOWS
372 TerminateProcess(GetCurrentProcess(), _exitCode);
373#else
374 _Exit(_exitCode);
375#endif // BX_PLATFORM_*
376 }
377
378 void* memoryMap(void* _address, size_t _size, Error* _err)
379 {

Callers 15

signalActionHandlerMethod · 0.70
err_unwindFunction · 0.50
lj_err_throwFunction · 0.50
jit_profile_callbackFunction · 0.50
lib_os.cFile · 0.50
lj_ccallback.cFile · 0.50
emit_asm_reloc_textFunction · 0.50
emit_asm_wordrelocFunction · 0.50
makehashFunction · 0.50
nexttokenFunction · 0.50
foldruleFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected