MCPcopy Create free account
hub / github.com/DFHack/dfhack / io_pclose

Function io_pclose

depends/lua/src/liolib.c:270–273  ·  view source on GitHub ↗

** function to close 'popen' files */

Source from the content-addressed store, hash-verified

268** function to close 'popen' files
269*/
270static int io_pclose (lua_State *L) {
271 LStream *p = tolstream(L);
272 return luaL_execresult(L, l_pclose(L, p->f));
273}
274
275
276static int io_popen (lua_State *L) {

Callers

nothing calls this directly

Calls 1

luaL_execresultFunction · 0.85

Tested by

no test coverage detected