From 581697695aac72894f2d3fefac904b9d50b3ba67 Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Tue, 19 Apr 2011 08:08:15 +0200 Subject: Message validity is checked in the runtime Signed-off-by: Martin Sustrik --- doc/zmq_msg_close.txt | 3 ++- doc/zmq_msg_copy.txt | 3 ++- doc/zmq_msg_move.txt | 3 ++- doc/zmq_recv.txt | 2 ++ doc/zmq_send.txt | 2 ++ 5 files changed, 10 insertions(+), 3 deletions(-) (limited to 'doc') diff --git a/doc/zmq_msg_close.txt b/doc/zmq_msg_close.txt index 1da353b..e530e33 100644 --- a/doc/zmq_msg_close.txt +++ b/doc/zmq_msg_close.txt @@ -35,7 +35,8 @@ it shall return `-1` and set 'errno' to one of the values defined below. ERRORS ------ -No errors are defined. +*EFAULT*:: +Invalid message. SEE ALSO diff --git a/doc/zmq_msg_copy.txt b/doc/zmq_msg_copy.txt index f41a42e..e393f03 100644 --- a/doc/zmq_msg_copy.txt +++ b/doc/zmq_msg_copy.txt @@ -37,7 +37,8 @@ shall return `-1` and set 'errno' to one of the values defined below. ERRORS ------ -No errors are defined. +*EFAULT*:: +Invalid message. SEE ALSO diff --git a/doc/zmq_msg_move.txt b/doc/zmq_msg_move.txt index 75c8e74..f14a28f 100644 --- a/doc/zmq_msg_move.txt +++ b/doc/zmq_msg_move.txt @@ -32,7 +32,8 @@ shall return `-1` and set 'errno' to one of the values defined below. ERRORS ------ -No errors are defined. +*EFAULT*:: +Invalid message. SEE ALSO diff --git a/doc/zmq_recv.txt b/doc/zmq_recv.txt index fe601ba..0b6e0e4 100644 --- a/doc/zmq_recv.txt +++ b/doc/zmq_recv.txt @@ -68,6 +68,8 @@ The provided 'socket' was invalid. *EINTR*:: The operation was interrupted by delivery of a signal before a message was available. +*EFAULT*:: +The message passed to the function was invalid. EXAMPLE diff --git a/doc/zmq_send.txt b/doc/zmq_send.txt index 2a63cc6..85ac3b7 100644 --- a/doc/zmq_send.txt +++ b/doc/zmq_send.txt @@ -78,6 +78,8 @@ The provided 'socket' was invalid. *EINTR*:: The operation was interrupted by delivery of a signal before the message was sent. +*EFAULT*:: +Invalid message. EXAMPLE -- cgit v1.2.3