MCPcopy Create free account
hub / github.com/crawl/crawl / open_u

Function open_u

crawl-ref/source/syscalls.cc:568–575  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

566}
567
568int open_u(const char *pathname, int flags, mode_t mode)
569{
570#ifdef TARGET_OS_WINDOWS
571 return _wopen(OUTW(pathname), flags, mode);
572#else
573 return open(OUTS(pathname), flags, mode);
574#endif
575}

Callers 3

packageMethod · 0.85
lk_open_exclusiveFunction · 0.85
fopen_replaceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected