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

Function f_write

source/extern/lua/liolib.c:651–655  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

649
650
651static int f_write (lua_State *L) {
652 FILE *f = tofile(L);
653 lua_pushvalue(L, 1); /* push file at the stack top (to be returned) */
654 return g_write(L, f, 2);
655}
656
657
658static 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