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

Function io_tmpfile

third-party/lua-5.3.5/src/liolib.c:286–290  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

284
285
286static 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
293static 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