search for: aa270058

Displaying 2 results from an estimated 2 matches for "aa270058".

2020 Aug 17
3
[nbdkit] Windows errno handling
...ndows functions like send, recv, etc. do not set errno. - In fact it's not even possible for the concept of a shared global variable to exist with Windows DLLs, or at least not without a bunch of work: (https://docs.microsoft.com/en-us/previous-versions/visualstudio/visual-studio-6.0/aa270058(v=vs.60)) - To get and set the thread-local error from the last function we must call WSAGetLastError and WSASetLastError. - Error codes are integers with superficial similarity to errno codes but different symbols and values (eg. WSAEINTR == 10004 is similar to EINTR). - I'm not...
2020 Aug 17
0
Re: [nbdkit] Windows errno handling
..., recv, etc. do not set errno. > > - In fact it's not even possible for the concept of a shared global > variable to exist with Windows DLLs, or at least not without a > bunch of work: > (https://docs.microsoft.com/en-us/previous-versions/visualstudio/visual-studio-6.0/aa270058(v=vs.60)) > > - To get and set the thread-local error from the last function > we must call WSAGetLastError and WSASetLastError. > > - Error codes are integers with superficial similarity to errno codes > but different symbols and values (eg. WSAEINTR == 10004 is similar...