Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | windows: Fix off-by-one error in strerror_s_extended() | Tobias Brunner | 2014-07-02 | 1 | -1/+1 |
| | |||||
* | windows: accept() socket handle could theoretically be 0 | Tobias Brunner | 2014-07-02 | 1 | -1/+1 |
| | |||||
* | windows: Close correct socket when opening second socket fails in socketpair() | Tobias Brunner | 2014-07-02 | 1 | -1/+1 |
| | |||||
* | windows: Make sure the string returned from ReadConsole() is null terminated | Tobias Brunner | 2014-07-02 | 1 | -0/+2 |
| | |||||
* | windows: Extend strerror_r/s by extended POSIX errno strings | Martin Willi | 2014-06-17 | 1 | -0/+60 |
| | |||||
* | windows: Wrap most Winsock2 Posix functions to set errno | Martin Willi | 2014-06-17 | 1 | -65/+141 |
| | | | | | | While Winsock provides many Posix compatibility functions, they do not set errno, but use WSAGetLastError() for error reporting. The wrapped functions derive an errno from WSAGetLastError() on failure. | ||||
* | windows: Provide POSIX supplement errno values missing in MinGW | Martin Willi | 2014-06-04 | 1 | -8/+18 |
| | | | | | MinGW headers do not define these values, but Windows system headers do. Windows defines them for POSIX compatibility, we do the same locally. | ||||
* | windows: Provide a getpass() implementation | Martin Willi | 2014-06-04 | 1 | -0/+59 |
| | |||||
* | windows: Provide a close(2) that can close both file handles and sockets | Martin Willi | 2014-06-04 | 1 | -0/+16 |
| | |||||
* | windows: Provide a strndup(3) replacement | Martin Willi | 2014-06-04 | 1 | -0/+15 |
| | |||||
* | unit-tests: Uninline dlopen() and friends, make more dynamic, fix dlerror() | Martin Willi | 2014-06-04 | 1 | -0/+124 |
| | | | | | As the error string contains a newline, we have to remove that before returning the string. | ||||
* | windows: Provide a cancellable usleep(), but with ms resolution only | Martin Willi | 2014-06-04 | 1 | -0/+13 |
| | |||||
* | windows: Map WSAGetLastError() to errno failures in wrapped send/recv/from/to | Martin Willi | 2014-06-04 | 1 | -12/+80 |
| | |||||
* | windows: Add send/recv and sendto/recvfrom wrappers supporting MSG_DONTWAIT | Martin Willi | 2014-06-04 | 1 | -0/+99 |
| | |||||
* | windows: Implement socketpair() using TCP sockets | Martin Willi | 2014-06-04 | 1 | -0/+64 |
| | |||||
* | windows: Add utils_init/deinit functions to initialize Winsock2 | Martin Willi | 2014-06-04 | 1 | -0/+35 |