MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / io_tmpfile

Function io_tmpfile

deps/lua/src/liolib.c:183–187  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

181
182
183static int io_tmpfile (lua_State *L) {
184 FILE **pf = newfile(L);
185 *pf = tmpfile();
186 return (*pf == NULL) ? pushresult(L, 0, NULL) : 1;
187}
188
189
190static 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