MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / c_realpath

Function c_realpath

xs/sources/xsPlatforms.c:487–496  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

485}
486
487char *c_realpath(const char *path, char *real)
488{
489 if (_fullpath(real, path, C_PATH_MAX) != NULL) {
490 DWORD attributes = GetFileAttributes(real);
491 if (attributes != 0xFFFFFFFF) {
492 return real;
493 }
494 }
495 return C_NULL;
496}
497
498#endif

Callers 6

mainFunction · 0.85
fxRunBundleFunction · 0.85
fx_runScriptFunction · 0.85
fxLoadModuleFunction · 0.85
fxLoadScriptFunction · 0.85
xst262.cFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected