From 4c92fefe1bef9c19d35a9de54d27ef709b93b19c Mon Sep 17 00:00:00 2001 From: Dylan Cali Date: Sun, 15 Mar 2015 02:12:02 -0500 Subject: [PATCH] doc: zmq_msg_init does not set errno In fact it always returns zero. --- doc/zmq_msg_init.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/doc/zmq_msg_init.txt b/doc/zmq_msg_init.txt index 76ce38b8..27ea4b2a 100644 --- a/doc/zmq_msg_init.txt +++ b/doc/zmq_msg_init.txt @@ -28,8 +28,7 @@ _zmq_msg_init_size()_ are mutually exclusive. Never initialise the same RETURN VALUE ------------ -The _zmq_msg_init()_ function shall return zero if successful. Otherwise it -shall return `-1` and set 'errno' to one of the values defined below. +The _zmq_msg_init()_ function always returns zero. ERRORS