mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-14 11:06:59 +01:00
47 lines
991 B
Plaintext
47 lines
991 B
Plaintext
|
zmq_errno(3)
|
||
|
============
|
||
|
|
||
|
|
||
|
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
|
||
|
runtime library from the C runtime 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.
|
||
|
|
||
|
|
||
|
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
|
||
|
--------
|
||
|
linkzmq:zmq[7]
|
||
|
|
||
|
|