MCPcopy Create free account
hub / github.com/FastLED/FastLED / close

Function close

src/platforms/win/socket_win.cpp.hpp:223–227  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

221}
222
223int close(int fd) FL_NOEXCEPT {
224 SOCKET sock = static_cast<SOCKET>(fd);
225 int result = ::closesocket(sock);
226 return (result == SOCKET_ERROR) ? -1 : 0;
227}
228
229// Socket Options
230int setsockopt(int sockfd, int level, int optname, const void *optval, socklen_t optlen) FL_NOEXCEPT {

Callers 15

is_native_input_gamutFunction · 0.50
vorbis.cpp.hppFile · 0.50
openMemoryMethod · 0.50
ifstreamClass · 0.50
ofstreamClass · 0.50
fstreamClass · 0.50
fstream.cpp.hppFile · 0.50
openMethod · 0.50
stopMethod · 0.50
setup_listen_socketMethod · 0.50
accept_connectionsMethod · 0.50
close_clientMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected