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