MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / cleanup

Function cleanup

test/sockets/test_sockets_partial_server.c:35–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33}
34
35void cleanup() {
36 if (serverfd) {
37 close(serverfd);
38 serverfd = 0;
39 }
40 cleanup_client();
41}
42
43void do_send(int sockfd) {
44 static char* buffers[] = {

Callers

nothing calls this directly

Calls 2

cleanup_clientFunction · 0.85
closeFunction · 0.50

Tested by

no test coverage detected