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

Function doWrite

classpath/java-nio.cpp:344–351  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

342}
343
344int doWrite(int fd, const void* buffer, size_t count)
345{
346#ifdef PLATFORM_WINDOWS
347 return send(fd, static_cast<const char*>(buffer), count, 0);
348#else
349 return write(fd, buffer, count);
350#endif
351}
352
353int doSend(int fd, sockaddr_in* address, const void* buffer, size_t count)
354{

Calls 1

sendFunction · 0.85

Tested by

no test coverage detected