Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/danoon2/Boxedwine
/ get_tmp_dir
Function
get_tmp_dir
lib/asmjit/asmjit/core/virtmem.cpp:519–522 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
517
518
#if !defined(SHM_ANON)
519
static const char* get_tmp_dir() noexcept {
520
const char* tmp_dir = getenv(
"TMPDIR"
);
521
return tmp_dir ? tmp_dir :
"/tmp"
;
522
}
523
#endif
524
525
#if defined(__linux__) && defined(__NR_memfd_create)
Callers
1
open
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected