MCPcopy Create free account
hub / github.com/CppCXY/EmmyLuaCodeStyle / io_pclose

Function io_pclose

3rd/lua-5.4.3/src/liolib.c:283–287  ·  view source on GitHub ↗

** function to close 'popen' files */

Source from the content-addressed store, hash-verified

281** function to close 'popen' files
282*/
283static int io_pclose (lua_State *L) {
284 LStream *p = tolstream(L);
285 errno = 0;
286 return luaL_execresult(L, l_pclose(L, p->f));
287}
288
289
290static int io_popen (lua_State *L) {

Callers

nothing calls this directly

Calls 1

luaL_execresultFunction · 0.85

Tested by

no test coverage detected