MCPcopy Create free account
hub / github.com/F-Stack/f-stack / close_ng_socks

Function close_ng_socks

tools/ngctl/main.c:148–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

146int csock = -1, dsock = -1;
147
148void
149__attribute__((destructor)) close_ng_socks()
150{
151 if (csock >= 0) {
152 ng_close(csock);
153 }
154
155 if (dsock >= 0) {
156 ng_close(dsock);
157 }
158}
159#endif
160
161/*

Callers

nothing calls this directly

Calls 1

ng_closeFunction · 0.85

Tested by

no test coverage detected