The zmq_errno() function shall retrieve the value of the errno variable for the calling thread.
The zmq_errno() function is provided to assist users on non-POSIX systems who are experiencing issues with retrieving the correct value of errno directly. Specifically, users on Win32 systems whose application is using a different C runtime library from the C runtime library in use by 0MQ will need to use zmq_errno() for correct operation.
Users not experiencing issues with retrieving the correct value of errno should not use this function and should instead access the errno variable directly.
The zmq_errno() function shall return the value of the errno variable for the calling thread.
zmq(7)
The 0MQ documentation was written by Martin Sustrik <m[blue]sustrik@250bpm.comm[][1]> and Martin Lucina <m[blue]mato@kotelna.skm[][2]>.