MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / f_write

Function f_write

lib/lua/src/liolib.c:696–700  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

694
695
696static int f_write (lua_State *L) {
697 FILE *f = tofile(L);
698 lua_pushvalue(L, 1); /* push file at the stack top (to be returned) */
699 return g_write(L, f, 2);
700}
701
702
703static 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