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

Function setcwd

src/core/os.cpp:238–247  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

236 }
237
238 void setcwd(const char *cwd)
239 {
240#if CROWN_PLATFORM_WINDOWS
241 BOOL ret = SetCurrentDirectory(cwd);
242 CE_UNUSED(ret);
243#else
244 int ret = chdir(cwd);
245 CE_UNUSED(ret);
246#endif
247 }
248
249 const char *getenv(const char *name)
250 {

Callers 3

main_internalFunction · 0.85

Calls 1

chdirFunction · 0.50

Tested by 2