MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / io_tmpfile

Function io_tmpfile

third-party/lua-5.2.4/src/liolib.c:256–260  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

254
255
256static 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
263static FILE *getiofile (lua_State *L, const char *findex) {

Callers

nothing calls this directly

Calls 2

newfileFunction · 0.70
luaL_fileresultFunction · 0.70

Tested by

no test coverage detected