logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

zmq_errno - retrieve value of errno for the calling thread

Authors

       This page was written by the 0MQ community. To make a change please read the 0MQ Contribution Policy at
       http://www.zeromq.org/docs:contributing.

0MQ 4.3.5                                          03/31/2024                                       ZMQ_ERRNO(3)

Description

       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 run-time library from the C run-time library in use by 0MQ will need
       to use zmq_errno() for correct operation.

           Important

           Users not experiencing issues with retrieving the correct value of errno should not use this function
           and should instead access the errno variable directly.

Errors

       No errors are defined.

Name

       zmq_errno - retrieve value of errno for the calling thread

Return Value

       The zmq_errno() function shall return the value of the errno variable for the calling thread.

See Also

zmq(7)

Synopsis

intzmq_errno(void);

See Also