| 299 | |
| 300 | |
| 301 | static int io_tmpfile (lua_State *L) { |
| 302 | LStream *p = newfile(L); |
| 303 | p->f = tmpfile(); |
| 304 | return (p->f == NULL) ? luaL_fileresult(L, 0, NULL) : 1; |
| 305 | } |
| 306 | |
| 307 | |
| 308 | static FILE *getiofile (lua_State *L, const char *findex) { |
nothing calls this directly
no test coverage detected