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

Function plat_getsockname

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

Source from the content-addressed store, hash-verified

139
140
141int plat_getsockname(int fd, struct sockaddr *addr, socklen_t *addrlen) {
142#ifdef FL_IS_WIN
143 return fl::getsockname(fd, addr, addrlen);
144#else
145 return ::getsockname(fd, addr, addrlen);
146#endif
147}
148
149} // anonymous namespace
150

Callers 1

openMethod · 0.85

Calls 1

getsocknameFunction · 0.50

Tested by

no test coverage detected