mirror of
https://github.com/zeromq/libzmq.git
synced 2025-03-09 23:36:04 +00:00
Problem: The documentation for zmq_poller_new incorrectly states that it cannot fail.
Solution: Revise the offending wording, adding a remark that zmq_poller_new will return NULL in case of failure. Fixes #3425.
This commit is contained in:
parent
cdc4b8c6c6
commit
f1d6811dd7
@ -172,7 +172,7 @@ be called from the same thread. Otherwise, behaviour is undefined.
|
||||
|
||||
RETURN VALUE
|
||||
------------
|
||||
_zmq_poller_new_ always returns a valid pointer to a poller.
|
||||
_zmq_poller_new_ returns a valid pointer to a poller, or NULL in case of a failure.
|
||||
|
||||
All functions that return an int, return -1 in case of a failure. In that case,
|
||||
zmq_errno() can be used to query the type of the error as described below.
|
||||
|
Loading…
x
Reference in New Issue
Block a user