MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / readable

Function readable

third-party/lua-5.5.0/src/loadlib.c:428–433  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

426
427
428static int readable (const char *filename) {
429 FILE *f = fopen(filename, "r"); /* try to open file */
430 if (f == NULL) return 0; /* open failed */
431 fclose(f);
432 return 1;
433}
434
435
436/*

Callers 1

searchpathFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected