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

Function readable

third-party/lua-5.4.6/src/loadlib.c:425–430  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

searchpathFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected