MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / readable

Function readable

extlibs/lua/src/loadlib.c:427–432  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

searchpathFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected