MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / io_pclose

Function io_pclose

deps/lua/src/liolib.c:108–113  ·  view source on GitHub ↗

** function to close 'popen' files */

Source from the content-addressed store, hash-verified

106** function to close 'popen' files
107*/
108static int io_pclose (lua_State *L) {
109 FILE **p = tofilep(L);
110 int ok = lua_pclose(L, *p);
111 *p = NULL;
112 return pushresult(L, ok, NULL);
113}
114
115
116/*

Callers

nothing calls this directly

Calls 1

pushresultFunction · 0.85

Tested by

no test coverage detected