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

Function plat_close

src/fl/stl/asio/ip/tcp.cpp.hpp:66–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64}
65
66int plat_close(int fd) {
67#ifdef FL_IS_WIN
68 return fl::close(fd);
69#else
70 return ::close(fd);
71#endif
72}
73
74int plat_shutdown(int fd, int how) {
75#ifdef FL_IS_WIN

Callers 4

connectMethod · 0.85
close_fdMethod · 0.85
openMethod · 0.85
closeMethod · 0.85

Calls 1

closeFunction · 0.50

Tested by

no test coverage detected