MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / io_fclose

Function io_fclose

third-party/lua-5.5.0/src/liolib.c:245–249  ·  view source on GitHub ↗

** function to close regular files */

Source from the content-addressed store, hash-verified

243** function to close regular files
244*/
245static int io_fclose (lua_State *L) {
246 LStream *p = tolstream(L);
247 errno = 0;
248 return luaL_fileresult(L, (fclose(p->f) == 0), NULL);
249}
250
251
252static LStream *newfile (lua_State *L) {

Callers

nothing calls this directly

Calls 1

luaL_fileresultFunction · 0.70

Tested by

no test coverage detected