Unverified Commit d814f370 authored by Simon Giesecke's avatar Simon Giesecke Committed by GitHub

Merge pull request #3426 from Eelis/pollerdoc

Document that zmq_poller_new can return NULL.
parents cdc4b8c6 f09d5295
# Permission to Relicense under MPLv2 or any other OSI approved license chosen by the current ZeroMQ BDFL
This is a statement by Eelis van der Weegen that grants permission to
relicense its copyrights in the libzmq C++ library (ZeroMQ) under the
Mozilla Public License v2 (MPLv2) or any other Open Source Initiative
approved license chosen by the current ZeroMQ BDFL (Benevolent
Dictator for Life).
A portion of the commits made by the Github handle "Eelis", with
commit author "Eelis van der Weegen <eelis@eelis.net>", are
copyright of Eelis van der Weegen. This document hereby grants the libzmq
project team to relicense libzmq, including all past, present and
future contributions of the author listed above.
Eelis van der Weegen
2019/02/22
......@@ -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