MCPcopy Create free account
hub / github.com/DeNA/HandlerSocket-Plugin-for-MySQL / wait_close

Function wait_close

client/hstest.cpp:103–113  ·  view source on GitHub ↗

unused

Source from the content-addressed store, hash-verified

101
102// unused
103void
104wait_close(int fd)
105{
106 char buf[1024];
107 while (true) {
108 int r = read(fd, buf, sizeof(buf));
109 if (r <= 0) {
110 break;
111 }
112 }
113}
114
115// unused
116void

Callers 1

gentle_closeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected