MCPcopy Create free account
hub / github.com/RomanKubiak/ctrlr / io_tmpfile

Function io_tmpfile

Source/Misc/lua/src/lua.c:12097–12101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12095
12096
12097static int io_tmpfile (lua_State *L) {
12098FILE **pf = newfile(L);
12099*pf = tmpfile();
12100return (*pf == NULL) ? pushresult(L, 0, NULL) : 1;
12101}
12102
12103
12104static FILE *getiofile (lua_State *L, int findex) {

Callers

nothing calls this directly

Calls 2

newfileFunction · 0.85
pushresultFunction · 0.85

Tested by

no test coverage detected