MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / newfile

Function newfile

extlibs/lua/src/liolib.c:241–246  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

239
240
241static LStream *newfile (lua_State *L) {
242 LStream *p = newprefile(L);
243 p->f = NULL;
244 p->closef = &io_fclose;
245 return p;
246}
247
248
249static void opencheck (lua_State *L, const char *fname, const char *mode) {

Callers 3

opencheckFunction · 0.85
io_openFunction · 0.85
io_tmpfileFunction · 0.85

Calls 1

newprefileFunction · 0.85

Tested by

no test coverage detected