Commit f1d6811d authored by Eelis van der Weegen's avatar Eelis van der Weegen

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.
parent cdc4b8c6
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment