** function to close 'popen' files */
| 12020 | ** function to close 'popen' files |
| 12021 | */ |
| 12022 | static int io_pclose (lua_State *L) { |
| 12023 | FILE **p = tofilep(L); |
| 12024 | int ok = lua_pclose(L, *p); |
| 12025 | *p = NULL; |
| 12026 | return pushresult(L, ok, NULL); |
| 12027 | } |
| 12028 | |
| 12029 | |
| 12030 | /* |
nothing calls this directly
no test coverage detected