| 735 | |
| 736 | |
| 737 | static int io_flush (lua_State *L) { |
| 738 | FILE *f = getiofile(L, IO_OUTPUT); |
| 739 | errno = 0; |
| 740 | return luaL_fileresult(L, fflush(f) == 0, NULL); |
| 741 | } |
| 742 | |
| 743 | |
| 744 | static int f_flush (lua_State *L) { |
nothing calls this directly
no test coverage detected