MCPcopy Create free account
hub / github.com/BZFlag-Dev/bzflag / os_remove

Function os_remove

other_src/lua/src/loslib.cpp:44–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42
43
44static 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
50static int os_rename (lua_State *L) {

Callers

nothing calls this directly

Calls 1

os_pushresultFunction · 0.70

Tested by

no test coverage detected