MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / io_pclose

Function io_pclose

lib/lua/src/liolib.c:284–288  ·  view source on GitHub ↗

** function to close 'popen' files */

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

luaL_execresultFunction · 0.85

Tested by

no test coverage detected