MCPcopy Create free account
hub / github.com/DFHack/dfhack / f_close

Function f_close

depends/lua/src/liolib.c:209–212  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

207
208
209static int f_close (lua_State *L) {
210 tofile(L); /* make sure argument is an open stream */
211 return aux_close(L);
212}
213
214
215static int io_close (lua_State *L) {

Callers 1

io_closeFunction · 0.85

Calls 2

tofileFunction · 0.85
aux_closeFunction · 0.85

Tested by

no test coverage detected