| 284 | |
| 285 | |
| 286 | static int io_tmpfile (lua_State *L) { |
| 287 | LStream *p = newfile(L); |
| 288 | p->f = tmpfile(); |
| 289 | return (p->f == NULL) ? luaL_fileresult(L, 0, NULL) : 1; |
| 290 | } |
| 291 | |
| 292 | |
| 293 | static FILE *getiofile (lua_State *L, const char *findex) { |
nothing calls this directly
no test coverage detected