| 76 | } |
| 77 | |
| 78 | int Ioctl(Socket s, unsigned long int cmd, void* arg) |
| 79 | { |
| 80 | #if defined(__unix__) || defined(__APPLE__) |
| 81 | ARM_PIPE_NO_CONVERSION_WARN_BEGIN |
| 82 | return ioctl(s, static_cast<int>(cmd), arg); |
| 83 | ARM_PIPE_NO_CONVERSION_WARN_END |
| 84 | #elif defined(_MSC_VER) || defined(__MINGW32__) |
| 85 | ARM_PIPE_NO_CONVERSION_WARN_BEGIN |
| 86 | return ioctlsocket(s, cmd, static_cast<u_long*>(arg)); |
| 87 | ARM_PIPE_NO_CONVERSION_WARN_END |
| 88 | #endif |
| 89 | } |
| 90 | |
| 91 | |
| 92 | int Poll(PollFd* fds, nfds_t numFds, int timeout) |
no outgoing calls
no test coverage detected