From 749dd8ce86368f1c44c127018ac20425c0b6e3e4 Mon Sep 17 00:00:00 2001 From: Dylan Cali Date: Sun, 15 Mar 2015 04:03:01 -0500 Subject: [PATCH] doc: zmq_msg_init does not set errno In fact it always returns zero. Backport of zeromq/libzmq#1368 --- 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 199f084e..5a9b1218 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 initialize 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