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

Function newfile

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

Source from the content-addressed store, hash-verified

208
209
210static LStream *newfile (lua_State *L) {
211 LStream *p = newprefile(L);
212 p->f = NULL;
213 p->closef = &io_fclose;
214 return p;
215}
216
217
218static void opencheck (lua_State *L, const char *fname, const char *mode) {

Callers 3

opencheckFunction · 0.70
io_openFunction · 0.70
io_tmpfileFunction · 0.70

Calls 1

newprefileFunction · 0.70

Tested by

no test coverage detected