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

Function newfile

third-party/lua-5.5.0/src/liolib.c:252–257  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

250
251
252static LStream *newfile (lua_State *L) {
253 LStream *p = newprefile(L);
254 p->f = NULL;
255 p->closef = &io_fclose;
256 return p;
257}
258
259
260static 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