MCPcopy Create free account
hub / github.com/bloomberg/comdb2 / io_tmpfile

Function io_tmpfile

lua/liolib.c:191–195  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

189
190
191static int io_tmpfile (lua_State *L) {
192 FILE **pf = newfile(L);
193 *pf = tmpfile();
194 return (*pf == NULL) ? pushresult(L, 0, NULL) : 1;
195}
196
197
198static 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