MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / f_write

Function f_write

extlibs/lua/src/liolib.c:675–679  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

673
674
675static int f_write (lua_State *L) {
676 FILE *f = tofile(L);
677 lua_pushvalue(L, 1); /* push file at the stack top (to be returned) */
678 return g_write(L, f, 2);
679}
680
681
682static 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