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