MCPcopy Create free account
hub / github.com/ReadyTalk/avian / doRead

Function doRead

classpath/java-nio.cpp:316–323  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

314}
315
316int doRead(int fd, void* buffer, size_t count)
317{
318#ifdef PLATFORM_WINDOWS
319 return recv(fd, static_cast<char*>(buffer), count, 0);
320#else
321 return read(fd, buffer, count);
322#endif
323}
324
325int doRecv(int fd, void* buffer, size_t count, int32_t* host, int32_t* port)
326{

Calls 2

recvFunction · 0.85
readFunction · 0.50

Tested by

no test coverage detected