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

Function readable

WebGLPlugins/loadlib.c:420–425  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

418
419
420static int readable (const char *filename) {
421 FILE *f = fopen(filename, "r"); /* try to open file */
422 if (f == NULL) return 0; /* open failed */
423 fclose(f);
424 return 1;
425}
426
427
428static const char *pushnexttemplate (lua_State *L, const char *path) {

Callers 1

searchpathFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected