MCPcopy Create free account
hub / github.com/CppCXY/EmmyLuaCodeStyle / newfile

Function newfile

3rd/lua-5.4.3/src/liolib.c:253–258  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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