| 152 | |
| 153 | |
| 154 | static int os_remove (lua_State *L) { |
| 155 | const char *filename = luaL_checkstring(L, 1); |
| 156 | return luaL_fileresult(L, remove(filename) == 0, filename); |
| 157 | } |
| 158 | |
| 159 | |
| 160 | static int os_rename (lua_State *L) { |
nothing calls this directly
no test coverage detected