summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2011-04-09 09:35:34 +0200
committerMartin Sustrik <sustrik@250bpm.com>2011-04-09 09:35:34 +0200
commitb96fe15bb666e59728b6aa02f28c5838020f6bf3 (patch)
tree8c01bf7fefd99397643cf5e302ce0179b6748472 /doc
parente62686aca57ab307e952c53fd3848acaad22735e (diff)
Run-time checking for context & socket validity added
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/zmq_bind.txt4
-rw-r--r--doc/zmq_close.txt4
-rw-r--r--doc/zmq_connect.txt4
-rw-r--r--doc/zmq_getsockopt.txt4
-rw-r--r--doc/zmq_recv.txt4
-rw-r--r--doc/zmq_send.txt4
-rw-r--r--doc/zmq_setsockopt.txt4
-rw-r--r--doc/zmq_socket.txt2
-rw-r--r--doc/zmq_term.txt2
9 files changed, 16 insertions, 16 deletions
diff --git a/doc/zmq_bind.txt b/doc/zmq_bind.txt
index 23c3134..da20d78 100644
--- a/doc/zmq_bind.txt
+++ b/doc/zmq_bind.txt
@@ -56,8 +56,8 @@ The requested 'address' was not local.
The requested 'address' specifies a nonexistent interface.
*ETERM*::
The 0MQ 'context' associated with the specified 'socket' was terminated.
-*EFAULT*::
-The provided 'socket' was not valid (NULL).
+*ENOTSOCK*::
+The provided 'socket' was invalid.
*EMTHREAD*::
No I/O thread is available to accomplish the task.
diff --git a/doc/zmq_close.txt b/doc/zmq_close.txt
index fe3bde5..9f026a3 100644
--- a/doc/zmq_close.txt
+++ b/doc/zmq_close.txt
@@ -34,8 +34,8 @@ return `-1` and set 'errno' to one of the values defined below.
ERRORS
------
-*EFAULT*::
-The provided 'socket' was not valid (NULL).
+*ENOTSOCK*::
+The provided 'socket' was invalid.
SEE ALSO
diff --git a/doc/zmq_connect.txt b/doc/zmq_connect.txt
index a95f716..d25270f 100644
--- a/doc/zmq_connect.txt
+++ b/doc/zmq_connect.txt
@@ -54,8 +54,8 @@ The requested 'transport' protocol is not supported.
The requested 'transport' protocol is not compatible with the socket type.
*ETERM*::
The 0MQ 'context' associated with the specified 'socket' was terminated.
-*EFAULT*::
-The provided 'socket' was not valid (NULL).
+*ENOTSOCK*::
+The provided 'socket' was invalid.
*EMTHREAD*::
No I/O thread is available to accomplish the task.
diff --git a/doc/zmq_getsockopt.txt b/doc/zmq_getsockopt.txt
index c5dd968..926cf32 100644
--- a/doc/zmq_getsockopt.txt
+++ b/doc/zmq_getsockopt.txt
@@ -359,8 +359,8 @@ _option_value_, as specified by _option_len_, is insufficient for storing the
option value.
*ETERM*::
The 0MQ 'context' associated with the specified 'socket' was terminated.
-*EFAULT*::
-The provided 'socket' was not valid (NULL).
+*ENOTSOCK*::
+The provided 'socket' was invalid.
*EINTR*::
The operation was interrupted by delivery of a signal.
diff --git a/doc/zmq_recv.txt b/doc/zmq_recv.txt
index 1588c64..fe601ba 100644
--- a/doc/zmq_recv.txt
+++ b/doc/zmq_recv.txt
@@ -63,8 +63,8 @@ socket types that switch between several states, such as ZMQ_REP. See the
_messaging patterns_ section of linkzmq:zmq_socket[3] for more information.
*ETERM*::
The 0MQ 'context' associated with the specified 'socket' was terminated.
-*EFAULT*::
-The provided 'socket' was not valid (NULL).
+*ENOTSOCK*::
+The provided 'socket' was invalid.
*EINTR*::
The operation was interrupted by delivery of a signal before a message was
available.
diff --git a/doc/zmq_send.txt b/doc/zmq_send.txt
index c8d6f33..4561ae0 100644
--- a/doc/zmq_send.txt
+++ b/doc/zmq_send.txt
@@ -69,8 +69,8 @@ socket types that switch between several states, such as ZMQ_REP. See the
_messaging patterns_ section of linkzmq:zmq_socket[3] for more information.
*ETERM*::
The 0MQ 'context' associated with the specified 'socket' was terminated.
-*EFAULT*::
-The provided 'socket' was not valid (NULL).
+*ENOTSOCK*::
+The provided 'socket' was invalid.
*EINTR*::
The operation was interrupted by delivery of a signal before the message was
sent.
diff --git a/doc/zmq_setsockopt.txt b/doc/zmq_setsockopt.txt
index 48afbfc..f5c873e 100644
--- a/doc/zmq_setsockopt.txt
+++ b/doc/zmq_setsockopt.txt
@@ -310,8 +310,8 @@ The requested option _option_name_ is unknown, or the requested _option_len_ or
_option_value_ is invalid.
*ETERM*::
The 0MQ 'context' associated with the specified 'socket' was terminated.
-*EFAULT*::
-The provided 'socket' was not valid (NULL).
+*ENOTSOCK*::
+The provided 'socket' was invalid.
*EINTR*::
The operation was interrupted by delivery of a signal.
diff --git a/doc/zmq_socket.txt b/doc/zmq_socket.txt
index e8c4253..a319518 100644
--- a/doc/zmq_socket.txt
+++ b/doc/zmq_socket.txt
@@ -309,7 +309,7 @@ ERRORS
*EINVAL*::
The requested socket 'type' is invalid.
*EFAULT*::
-The provided 'context' was not valid (NULL).
+The provided 'context' is invalid.
*ETERM*::
The context specified was terminated.
diff --git a/doc/zmq_term.txt b/doc/zmq_term.txt
index d3914db..64e32ca 100644
--- a/doc/zmq_term.txt
+++ b/doc/zmq_term.txt
@@ -46,7 +46,7 @@ return `-1` and set 'errno' to one of the values defined below.
ERRORS
------
*EFAULT*::
-The provided 'context' was not valid (NULL).
+The provided 'context' was invalid.
*EINTR*::
Termination was interrupted by a signal. It can be restarted if needed.