zmq_errno(3)

zmq_errno(3)

ØMQ Manual - ØMQ/4.2.0

Name

zmq_errno - retrieve value of errno for the calling thread

Synopsis

int zmq_errno (void);

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 ØMQ 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.

Return value

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

Errors

No errors are defined.

See also

zmq(7)

Authors

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