Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CppCXY/EmmyLuaCodeStyle
/ readable
Function
readable
3rd/lua-5.4.3/src/loadlib.c:434–439 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
432
433
434
static int readable (const char *filename) {
435
FILE *f = fopen(filename,
"r"
); /* try to open file */
436
if (f == NULL) return 0; /* open failed */
437
fclose(f);
438
return 1;
439
}
440
441
442
/*
Callers
1
searchpath
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected