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

Function f_write

third-party/lua-5.3.5/src/liolib.c:649–653  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

647
648
649static int f_write (lua_State *L) {
650 FILE *f = tofile(L);
651 lua_pushvalue(L, 1); /* push file at the stack top (to be returned) */
652 return g_write(L, f, 2);
653}
654
655
656static int f_seek (lua_State *L) {

Callers

nothing calls this directly

Calls 3

tofileFunction · 0.70
lua_pushvalueFunction · 0.70
g_writeFunction · 0.70

Tested by

no test coverage detected