| 139 | |
| 140 | |
| 141 | static int os_remove(lua_State *L) { |
| 142 | const char *filename = luaL_checkstring(L, 1); |
| 143 | return luaL_fileresult(L, remove(filename) == 0, filename); |
| 144 | } |
| 145 | |
| 146 | |
| 147 | static int os_rename(lua_State *L) { |
nothing calls this directly
no test coverage detected