| 42 | |
| 43 | |
| 44 | static int os_remove (lua_State *L) { |
| 45 | const char *filename = luaL_checkstring(L, 1); |
| 46 | return os_pushresult(L, remove(filename) == 0, filename); |
| 47 | } |
| 48 | |
| 49 | |
| 50 | static int os_rename (lua_State *L) { |
nothing calls this directly
no test coverage detected