MCPcopy Create free account
hub / github.com/F-Stack/f-stack / io_gc

Function io_gc

app/redis-6.2.6/deps/lua/src/liolib.c:142–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

140
141
142static int io_gc (lua_State *L) {
143 FILE *f = *tofilep(L);
144 /* ignore closed files */
145 if (f != NULL)
146 aux_close(L);
147 return 0;
148}
149
150
151static int io_tostring (lua_State *L) {

Callers

nothing calls this directly

Calls 1

aux_closeFunction · 0.85

Tested by

no test coverage detected