MCPcopy Create free account
hub / github.com/Tencent/sluaunreal / readable

Function readable

Plugins/slua_unreal/External/lua/loadlib.cpp:414–419  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

412
413
414static int readable (const char *filename) {
415 FILE *f = fopen(filename, "r"); /* try to open file */
416 if (f == NULL) return 0; /* open failed */
417 fclose(f);
418 return 1;
419}
420
421
422static const char *pushnexttemplate (lua_State *L, const char *path) {

Callers 1

searchpathFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected