MCPcopy Create free account
hub / github.com/CppCXY/EmmyLuaCodeStyle / f_write

Function f_write

3rd/lua-5.4.3/src/liolib.c:690–694  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

688
689
690static int f_write (lua_State *L) {
691 FILE *f = tofile(L);
692 lua_pushvalue(L, 1); /* push file at the stack top (to be returned) */
693 return g_write(L, f, 2);
694}
695
696
697static int f_seek (lua_State *L) {

Callers

nothing calls this directly

Calls 3

tofileFunction · 0.85
lua_pushvalueFunction · 0.85
g_writeFunction · 0.85

Tested by

no test coverage detected