MCPcopy Create free account
hub / github.com/RomanKubiak/ctrlr / io_fclose

Function io_fclose

Source/Misc/lua/src/lua.c:12033–12038  ·  view source on GitHub ↗

** function to close regular files */

Source from the content-addressed store, hash-verified

12031** function to close regular files
12032*/
12033static int io_fclose (lua_State *L) {
12034FILE **p = tofilep(L);
12035int ok = (fclose(*p) == 0);
12036*p = NULL;
12037return pushresult(L, ok, NULL);
12038}
12039
12040
12041static int aux_close (lua_State *L) {

Callers

nothing calls this directly

Calls 1

pushresultFunction · 0.85

Tested by

no test coverage detected