| 537 | |
| 538 | |
| 539 | static int f_write (lua_State *L) { |
| 540 | FILE *f = tofile(L); |
| 541 | lua_pushvalue(L, 1); /* push file at the stack top (to be returned) */ |
| 542 | return g_write(L, f, 2); |
| 543 | } |
| 544 | |
| 545 | |
| 546 | static int f_seek (lua_State *L) { |
nothing calls this directly
no test coverage detected