** function to close regular files */
| 12031 | ** function to close regular files |
| 12032 | */ |
| 12033 | static int io_fclose (lua_State *L) { |
| 12034 | FILE **p = tofilep(L); |
| 12035 | int ok = (fclose(*p) == 0); |
| 12036 | *p = NULL; |
| 12037 | return pushresult(L, ok, NULL); |
| 12038 | } |
| 12039 | |
| 12040 | |
| 12041 | static int aux_close (lua_State *L) { |
nothing calls this directly
no test coverage detected