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

Function f_flush

depends/lua/src/liolib.c:694–696  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

692
693
694static int f_flush (lua_State *L) {
695 return luaL_fileresult(L, fflush(tofile(L)) == 0, NULL);
696}
697
698
699/*

Callers

nothing calls this directly

Calls 2

luaL_fileresultFunction · 0.85
tofileFunction · 0.85

Tested by

no test coverage detected