MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / os_remove

Function os_remove

third-party/lua-5.2.4/src/loslib.c:92–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90
91
92static int os_remove (lua_State *L) {
93 const char *filename = luaL_checkstring(L, 1);
94 return luaL_fileresult(L, remove(filename) == 0, filename);
95}
96
97
98static int os_rename (lua_State *L) {

Callers

nothing calls this directly

Calls 1

luaL_fileresultFunction · 0.70

Tested by

no test coverage detected