MCPcopy Create free account
hub / github.com/Tencent/UnLua / Lio_write

Function Lio_write

Plugins/UnLuaExtensions/LuaProtobuf/Source/src/pb.cpp:563–570  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

561}
562
563static int Lio_write(lua_State *L) {
564 int res;
565 (void)setmode(fileno(stdout), O_BINARY);
566 res = io_write(L, stdout, 1);
567 fflush(stdout);
568 (void)setmode(fileno(stdout), O_TEXT);
569 return res;
570}
571
572static int Lio_dump(lua_State *L) {
573 int res;

Callers

nothing calls this directly

Calls 1

io_writeFunction · 0.70

Tested by

no test coverage detected