Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RomanKubiak/ctrlr
/ tofile
Function
tofile
Source/Misc/lua/src/lua.c:11986–11991 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
11984
11985
11986
static FILE *tofile (lua_State *L) {
11987
FILE **f = tofilep(L);
11988
if (*f == NULL)
11989
luaL_error(L,
"attempt to use a closed file"
);
11990
return *f;
11991
}
11992
11993
11994
Callers
8
io_close
Function · 0.85
g_iofile
Function · 0.85
f_lines
Function · 0.85
f_read
Function · 0.85
f_write
Function · 0.85
f_seek
Function · 0.85
f_setvbuf
Function · 0.85
f_flush
Function · 0.85
Calls
1
luaL_error
Function · 0.85
Tested by
no test coverage detected