| 254 | |
| 255 | |
| 256 | static int io_tmpfile (lua_State *L) { |
| 257 | LStream *p = newfile(L); |
| 258 | p->f = tmpfile(); |
| 259 | return (p->f == NULL) ? luaL_fileresult(L, 0, NULL) : 1; |
| 260 | } |
| 261 | |
| 262 | |
| 263 | static FILE *getiofile (lua_State *L, const char *findex) { |
nothing calls this directly
no test coverage detected