summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMartin Lucina <martin@lucina.net>2012-01-23 08:53:45 +0100
committerMartin Lucina <martin@lucina.net>2012-01-23 08:53:45 +0100
commitcbaa7cfa93893876e4fd8794b6ea39f4d245b6b5 (patch)
treee15fcee68b93793ef5654e09c214150e9d3ce248 /doc
parent8e61b98c5e2943b149c825310b24e714a6127072 (diff)
Imported Upstream version 2.1.6upstream/2.1.6
Diffstat (limited to 'doc')
-rw-r--r--doc/Makefile.in9
-rw-r--r--doc/zmq.76
-rw-r--r--doc/zmq_bind.36
-rw-r--r--doc/zmq_close.36
-rw-r--r--doc/zmq_connect.36
-rw-r--r--doc/zmq_cpp.76
-rw-r--r--doc/zmq_device.36
-rw-r--r--doc/zmq_epgm.78
-rw-r--r--doc/zmq_epgm.html8
-rw-r--r--doc/zmq_epgm.txt5
-rw-r--r--doc/zmq_errno.36
-rw-r--r--doc/zmq_getsockopt.36
-rw-r--r--doc/zmq_init.36
-rw-r--r--doc/zmq_inproc.76
-rw-r--r--doc/zmq_ipc.76
-rw-r--r--doc/zmq_msg_close.313
-rw-r--r--doc/zmq_msg_close.html15
-rw-r--r--doc/zmq_msg_close.txt3
-rw-r--r--doc/zmq_msg_copy.313
-rw-r--r--doc/zmq_msg_copy.html15
-rw-r--r--doc/zmq_msg_copy.txt3
-rw-r--r--doc/zmq_msg_data.36
-rw-r--r--doc/zmq_msg_init.36
-rw-r--r--doc/zmq_msg_init_data.322
-rw-r--r--doc/zmq_msg_init_data.html13
-rw-r--r--doc/zmq_msg_init_data.txt3
-rw-r--r--doc/zmq_msg_init_size.36
-rw-r--r--doc/zmq_msg_move.313
-rw-r--r--doc/zmq_msg_move.html15
-rw-r--r--doc/zmq_msg_move.txt3
-rw-r--r--doc/zmq_msg_size.36
-rw-r--r--doc/zmq_pgm.78
-rw-r--r--doc/zmq_pgm.html8
-rw-r--r--doc/zmq_pgm.txt5
-rw-r--r--doc/zmq_poll.36
-rw-r--r--doc/zmq_recv.311
-rw-r--r--doc/zmq_recv.html12
-rw-r--r--doc/zmq_recv.txt2
-rw-r--r--doc/zmq_send.313
-rw-r--r--doc/zmq_send.html15
-rw-r--r--doc/zmq_send.txt6
-rw-r--r--doc/zmq_setsockopt.36
-rw-r--r--doc/zmq_socket.313
-rw-r--r--doc/zmq_socket.html14
-rw-r--r--doc/zmq_socket.txt4
-rw-r--r--doc/zmq_strerror.36
-rw-r--r--doc/zmq_tcp.76
-rw-r--r--doc/zmq_term.36
-rw-r--r--doc/zmq_version.36
49 files changed, 273 insertions, 125 deletions
diff --git a/doc/Makefile.in b/doc/Makefile.in
index 35bf698..2db8cb3 100644
--- a/doc/Makefile.in
+++ b/doc/Makefile.in
@@ -142,6 +142,8 @@ OBJDUMP = @OBJDUMP@
OBJEXT = @OBJEXT@
OTOOL = @OTOOL@
OTOOL64 = @OTOOL64@
+OpenPGM_CFLAGS = @OpenPGM_CFLAGS@
+OpenPGM_LIBS = @OpenPGM_LIBS@
PACKAGE = @PACKAGE@
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
PACKAGE_NAME = @PACKAGE_NAME@
@@ -150,6 +152,9 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@
PACKAGE_URL = @PACKAGE_URL@
PACKAGE_VERSION = @PACKAGE_VERSION@
PATH_SEPARATOR = @PATH_SEPARATOR@
+PKG_CONFIG = @PKG_CONFIG@
+PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
+PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
RANLIB = @RANLIB@
SED = @SED@
SET_MAKE = @SET_MAKE@
@@ -164,8 +169,6 @@ abs_top_srcdir = @abs_top_srcdir@
ac_ct_CC = @ac_ct_CC@
ac_ct_CXX = @ac_ct_CXX@
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
-ac_zmq_have_asciidoc = @ac_zmq_have_asciidoc@
-ac_zmq_have_xmlto = @ac_zmq_have_xmlto@
am__include = @am__include@
am__leading_dot = @am__leading_dot@
am__quote = @am__quote@
@@ -194,6 +197,8 @@ infodir = @infodir@
install_sh = @install_sh@
libdir = @libdir@
libexecdir = @libexecdir@
+libzmq_have_asciidoc = @libzmq_have_asciidoc@
+libzmq_have_xmlto = @libzmq_have_xmlto@
localedir = @localedir@
localstatedir = @localstatedir@
lt_ECHO = @lt_ECHO@
diff --git a/doc/zmq.7 b/doc/zmq.7
index d7fa3be..b5f0d27 100644
--- a/doc/zmq.7
+++ b/doc/zmq.7
@@ -2,12 +2,12 @@
.\" Title: zmq
.\" Author: [see the "AUTHORS" section]
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
-.\" Date: 03/30/2011
+.\" Date: 04/20/2011
.\" Manual: 0MQ Manual
-.\" Source: 0MQ 2.1.4
+.\" Source: 0MQ 2.1.5
.\" Language: English
.\"
-.TH "ZMQ" "7" "03/30/2011" "0MQ 2\&.1\&.4" "0MQ Manual"
+.TH "ZMQ" "7" "04/20/2011" "0MQ 2\&.1\&.5" "0MQ Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff --git a/doc/zmq_bind.3 b/doc/zmq_bind.3
index 9ff1109..8412806 100644
--- a/doc/zmq_bind.3
+++ b/doc/zmq_bind.3
@@ -2,12 +2,12 @@
.\" Title: zmq_bind
.\" Author: [see the "AUTHORS" section]
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
-.\" Date: 03/30/2011
+.\" Date: 04/20/2011
.\" Manual: 0MQ Manual
-.\" Source: 0MQ 2.1.4
+.\" Source: 0MQ 2.1.5
.\" Language: English
.\"
-.TH "ZMQ_BIND" "3" "03/30/2011" "0MQ 2\&.1\&.4" "0MQ Manual"
+.TH "ZMQ_BIND" "3" "04/20/2011" "0MQ 2\&.1\&.5" "0MQ Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff --git a/doc/zmq_close.3 b/doc/zmq_close.3
index 520f0ac..43f47b3 100644
--- a/doc/zmq_close.3
+++ b/doc/zmq_close.3
@@ -2,12 +2,12 @@
.\" Title: zmq_close
.\" Author: [see the "AUTHORS" section]
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
-.\" Date: 03/30/2011
+.\" Date: 04/20/2011
.\" Manual: 0MQ Manual
-.\" Source: 0MQ 2.1.4
+.\" Source: 0MQ 2.1.5
.\" Language: English
.\"
-.TH "ZMQ_CLOSE" "3" "03/30/2011" "0MQ 2\&.1\&.4" "0MQ Manual"
+.TH "ZMQ_CLOSE" "3" "04/20/2011" "0MQ 2\&.1\&.5" "0MQ Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff --git a/doc/zmq_connect.3 b/doc/zmq_connect.3
index 06435e8..534abb4 100644
--- a/doc/zmq_connect.3
+++ b/doc/zmq_connect.3
@@ -2,12 +2,12 @@
.\" Title: zmq_connect
.\" Author: [see the "AUTHORS" section]
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
-.\" Date: 03/30/2011
+.\" Date: 04/20/2011
.\" Manual: 0MQ Manual
-.\" Source: 0MQ 2.1.4
+.\" Source: 0MQ 2.1.5
.\" Language: English
.\"
-.TH "ZMQ_CONNECT" "3" "03/30/2011" "0MQ 2\&.1\&.4" "0MQ Manual"
+.TH "ZMQ_CONNECT" "3" "04/20/2011" "0MQ 2\&.1\&.5" "0MQ Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff --git a/doc/zmq_cpp.7 b/doc/zmq_cpp.7
index c61797e..b5fb80a 100644
--- a/doc/zmq_cpp.7
+++ b/doc/zmq_cpp.7
@@ -2,12 +2,12 @@
.\" Title: zmq_cpp
.\" Author: [see the "AUTHORS" section]
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
-.\" Date: 03/30/2011
+.\" Date: 04/20/2011
.\" Manual: 0MQ Manual
-.\" Source: 0MQ 2.1.4
+.\" Source: 0MQ 2.1.5
.\" Language: English
.\"
-.TH "ZMQ_CPP" "7" "03/30/2011" "0MQ 2\&.1\&.4" "0MQ Manual"
+.TH "ZMQ_CPP" "7" "04/20/2011" "0MQ 2\&.1\&.5" "0MQ Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff --git a/doc/zmq_device.3 b/doc/zmq_device.3
index 329360d..67ab7bb 100644
--- a/doc/zmq_device.3
+++ b/doc/zmq_device.3
@@ -2,12 +2,12 @@
.\" Title: zmq_device
.\" Author: [see the "AUTHORS" section]
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
-.\" Date: 03/30/2011
+.\" Date: 04/20/2011
.\" Manual: 0MQ Manual
-.\" Source: 0MQ 2.1.4
+.\" Source: 0MQ 2.1.5
.\" Language: English
.\"
-.TH "ZMQ_DEVICE" "3" "03/30/2011" "0MQ 2\&.1\&.4" "0MQ Manual"
+.TH "ZMQ_DEVICE" "3" "04/20/2011" "0MQ 2\&.1\&.5" "0MQ Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff --git a/doc/zmq_epgm.7 b/doc/zmq_epgm.7
index 1559950..3c4c7d1 100644
--- a/doc/zmq_epgm.7
+++ b/doc/zmq_epgm.7
@@ -2,12 +2,12 @@
.\" Title: zmq_pgm
.\" Author: [see the "AUTHORS" section]
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
-.\" Date: 03/30/2011
+.\" Date: 04/20/2011
.\" Manual: 0MQ Manual
-.\" Source: 0MQ 2.1.4
+.\" Source: 0MQ 2.1.5
.\" Language: English
.\"
-.TH "ZMQ_PGM" "7" "03/30/2011" "0MQ 2\&.1\&.4" "0MQ Manual"
+.TH "ZMQ_PGM" "7" "04/20/2011" "0MQ 2\&.1\&.5" "0MQ Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
@@ -124,6 +124,8 @@ data = *OCTET
.sp
In order for late joining consumers to be able to identify message boundaries, each PGM datagram payload starts with a 16\-bit unsigned integer in network byte order specifying either the offset of the first message \fIframe\fR in the datagram or containing the value 0xFFFF if the datagram contains solely an intermediate part of a larger message\&.
.sp
+Note that offset specifies where the first message begins rather than the first message part\&. Thus, if there are trailing message parts at the beginning of the packet the offset ignores them and points to first initial message part in the packet\&.
+.sp
The following diagram illustrates the layout of a single PGM datagram payload:
.sp
.if n \{\
diff --git a/doc/zmq_epgm.html b/doc/zmq_epgm.html
index 5506fa1..9383d71 100644
--- a/doc/zmq_epgm.html
+++ b/doc/zmq_epgm.html
@@ -672,6 +672,10 @@ each PGM datagram payload starts with a 16-bit unsigned integer in network byte
order specifying either the offset of the first message <em>frame</em> in the datagram
or containing the value <tt>0xFFFF</tt> if the datagram contains solely an
intermediate part of a larger message.</p></div>
+<div class="paragraph"><p>Note that offset specifies where the first message begins rather than the first
+message part. Thus, if there are trailing message parts at the beginning of
+the packet the offset ignores them and points to first initial message part
+in the packet.</p></div>
<div class="paragraph"><p>The following diagram illustrates the layout of a single PGM datagram payload:</p></div>
<div class="literalblock">
<div class="content">
@@ -737,8 +741,8 @@ Martin Lucina &lt;<a href="mailto:mato@kotelna.sk">mato@kotelna.sk</a>&gt;.</p><
<div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
-ØMQ 2.1.4<br />
-Last updated 2011-03-13 17:59:17 CEST
+ØMQ 2.1.5<br />
+Last updated 2011-04-16 10:29:20 CEST
</div>
</div>
</body>
diff --git a/doc/zmq_epgm.txt b/doc/zmq_epgm.txt
index 72ae24f..9a48afd 100644
--- a/doc/zmq_epgm.txt
+++ b/doc/zmq_epgm.txt
@@ -93,6 +93,11 @@ order specifying either the offset of the first message 'frame' in the datagram
or containing the value `0xFFFF` if the datagram contains solely an
intermediate part of a larger message.
+Note that offset specifies where the first message begins rather than the first
+message part. Thus, if there are trailing message parts at the beginning of
+the packet the offset ignores them and points to first initial message part
+in the packet.
+
The following diagram illustrates the layout of a single PGM datagram payload:
....
diff --git a/doc/zmq_errno.3 b/doc/zmq_errno.3
index 407ca79..9ebec08 100644
--- a/doc/zmq_errno.3
+++ b/doc/zmq_errno.3
@@ -2,12 +2,12 @@
.\" Title: zmq_errno
.\" Author: [see the "AUTHORS" section]
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
-.\" Date: 03/30/2011
+.\" Date: 04/20/2011
.\" Manual: 0MQ Manual
-.\" Source: 0MQ 2.1.4
+.\" Source: 0MQ 2.1.5
.\" Language: English
.\"
-.TH "ZMQ_ERRNO" "3" "03/30/2011" "0MQ 2\&.1\&.4" "0MQ Manual"
+.TH "ZMQ_ERRNO" "3" "04/20/2011" "0MQ 2\&.1\&.5" "0MQ Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff --git a/doc/zmq_getsockopt.3 b/doc/zmq_getsockopt.3
index 774dca8..1760fa2 100644
--- a/doc/zmq_getsockopt.3
+++ b/doc/zmq_getsockopt.3
@@ -2,12 +2,12 @@
.\" Title: zmq_getsockopt
.\" Author: [see the "AUTHORS" section]
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
-.\" Date: 03/30/2011
+.\" Date: 04/20/2011
.\" Manual: 0MQ Manual
-.\" Source: 0MQ 2.1.4
+.\" Source: 0MQ 2.1.5
.\" Language: English
.\"
-.TH "ZMQ_GETSOCKOPT" "3" "03/30/2011" "0MQ 2\&.1\&.4" "0MQ Manual"
+.TH "ZMQ_GETSOCKOPT" "3" "04/20/2011" "0MQ 2\&.1\&.5" "0MQ Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff --git a/doc/zmq_init.3 b/doc/zmq_init.3
index d52d393..dd0bed5 100644
--- a/doc/zmq_init.3
+++ b/doc/zmq_init.3
@@ -2,12 +2,12 @@
.\" Title: zmq_init
.\" Author: [see the "AUTHORS" section]
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
-.\" Date: 03/30/2011
+.\" Date: 04/20/2011
.\" Manual: 0MQ Manual
-.\" Source: 0MQ 2.1.4
+.\" Source: 0MQ 2.1.5
.\" Language: English
.\"
-.TH "ZMQ_INIT" "3" "03/30/2011" "0MQ 2\&.1\&.4" "0MQ Manual"
+.TH "ZMQ_INIT" "3" "04/20/2011" "0MQ 2\&.1\&.5" "0MQ Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff --git a/doc/zmq_inproc.7 b/doc/zmq_inproc.7
index 830d1fa..0f0ea78 100644
--- a/doc/zmq_inproc.7
+++ b/doc/zmq_inproc.7
@@ -2,12 +2,12 @@
.\" Title: zmq_inproc
.\" Author: [see the "AUTHORS" section]
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
-.\" Date: 03/30/2011
+.\" Date: 04/20/2011
.\" Manual: 0MQ Manual
-.\" Source: 0MQ 2.1.4
+.\" Source: 0MQ 2.1.5
.\" Language: English
.\"
-.TH "ZMQ_INPROC" "7" "03/30/2011" "0MQ 2\&.1\&.4" "0MQ Manual"
+.TH "ZMQ_INPROC" "7" "04/20/2011" "0MQ 2\&.1\&.5" "0MQ Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff --git a/doc/zmq_ipc.7 b/doc/zmq_ipc.7
index a0ef8bd..e3b0652 100644
--- a/doc/zmq_ipc.7
+++ b/doc/zmq_ipc.7
@@ -2,12 +2,12 @@
.\" Title: zmq_ipc
.\" Author: [see the "AUTHORS" section]
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
-.\" Date: 03/30/2011
+.\" Date: 04/20/2011
.\" Manual: 0MQ Manual
-.\" Source: 0MQ 2.1.4
+.\" Source: 0MQ 2.1.5
.\" Language: English
.\"
-.TH "ZMQ_IPC" "7" "03/30/2011" "0MQ 2\&.1\&.4" "0MQ Manual"
+.TH "ZMQ_IPC" "7" "04/20/2011" "0MQ 2\&.1\&.5" "0MQ Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff --git a/doc/zmq_msg_close.3 b/doc/zmq_msg_close.3
index 76d5cb8..3201edb 100644
--- a/doc/zmq_msg_close.3
+++ b/doc/zmq_msg_close.3
@@ -2,12 +2,12 @@
.\" Title: zmq_msg_close
.\" Author: [see the "AUTHORS" section]
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
-.\" Date: 03/30/2011
+.\" Date: 04/20/2011
.\" Manual: 0MQ Manual
-.\" Source: 0MQ 2.1.4
+.\" Source: 0MQ 2.1.5
.\" Language: English
.\"
-.TH "ZMQ_MSG_CLOSE" "3" "03/30/2011" "0MQ 2\&.1\&.4" "0MQ Manual"
+.TH "ZMQ_MSG_CLOSE" "3" "04/20/2011" "0MQ 2\&.1\&.5" "0MQ Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
@@ -57,8 +57,11 @@ Never access \fIzmq_msg_t\fR members directly, instead always use the \fIzmq_msg
.sp
The \fIzmq_msg_close()\fR function shall return zero if successful\&. Otherwise it shall return \-1 and set \fIerrno\fR to one of the values defined below\&.
.SH "ERRORS"
-.sp
-No errors are defined\&.
+.PP
+\fBEFAULT\fR
+.RS 4
+Invalid message\&.
+.RE
.SH "SEE ALSO"
.sp
\fBzmq_msg_init\fR(3) \fBzmq_msg_init_size\fR(3) \fBzmq_msg_init_data\fR(3) \fBzmq_msg_data\fR(3) \fBzmq_msg_size\fR(3) \fBzmq\fR(7)
diff --git a/doc/zmq_msg_close.html b/doc/zmq_msg_close.html
index 7942587..caa7741 100644
--- a/doc/zmq_msg_close.html
+++ b/doc/zmq_msg_close.html
@@ -610,7 +610,16 @@ it shall return <tt>-1</tt> and set <em>errno</em> to one of the values defined
</div>
<h2 id="_errors">ERRORS</h2>
<div class="sectionbody">
-<div class="paragraph"><p>No errors are defined.</p></div>
+<div class="dlist"><dl>
+<dt class="hdlist1">
+<strong>EFAULT</strong>
+</dt>
+<dd>
+<p>
+Invalid message.
+</p>
+</dd>
+</dl></div>
</div>
<h2 id="_see_also">SEE ALSO</h2>
<div class="sectionbody">
@@ -630,8 +639,8 @@ Martin Lucina &lt;<a href="mailto:mato@kotelna.sk">mato@kotelna.sk</a>&gt;.</p><
<div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
-ØMQ 2.1.4<br />
-Last updated 2011-03-13 17:59:17 CEST
+ØMQ 2.1.5<br />
+Last updated 2011-04-20 12:15:32 CEST
</div>
</div>
</body>
diff --git a/doc/zmq_msg_close.txt b/doc/zmq_msg_close.txt
index f72251a..025302b 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.3 b/doc/zmq_msg_copy.3
index 2471cdc..3c19ef3 100644
--- a/doc/zmq_msg_copy.3
+++ b/doc/zmq_msg_copy.3
@@ -2,12 +2,12 @@
.\" Title: zmq_msg_copy
.\" Author: [see the "AUTHORS" section]
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
-.\" Date: 03/30/2011
+.\" Date: 04/20/2011
.\" Manual: 0MQ Manual
-.\" Source: 0MQ 2.1.4
+.\" Source: 0MQ 2.1.5
.\" Language: English
.\"
-.TH "ZMQ_MSG_COPY" "3" "03/30/2011" "0MQ 2\&.1\&.4" "0MQ Manual"
+.TH "ZMQ_MSG_COPY" "3" "04/20/2011" "0MQ 2\&.1\&.5" "0MQ Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
@@ -71,8 +71,11 @@ Never access \fIzmq_msg_t\fR members directly, instead always use the \fIzmq_msg
.sp
The \fIzmq_msg_copy()\fR function shall return zero if successful\&. Otherwise it shall return \-1 and set \fIerrno\fR to one of the values defined below\&.
.SH "ERRORS"
-.sp
-No errors are defined\&.
+.PP
+\fBEFAULT\fR
+.RS 4
+Invalid message\&.
+.RE
.SH "SEE ALSO"
.sp
\fBzmq_msg_move\fR(3) \fBzmq_msg_init\fR(3) \fBzmq_msg_init_size\fR(3) \fBzmq_msg_init_data\fR(3) \fBzmq_msg_close\fR(3) \fBzmq\fR(7)
diff --git a/doc/zmq_msg_copy.html b/doc/zmq_msg_copy.html
index 5017c3c..d492905 100644
--- a/doc/zmq_msg_copy.html
+++ b/doc/zmq_msg_copy.html
@@ -619,7 +619,16 @@ shall return <tt>-1</tt> and set <em>errno</em> to one of the values defined bel
</div>
<h2 id="_errors">ERRORS</h2>
<div class="sectionbody">
-<div class="paragraph"><p>No errors are defined.</p></div>
+<div class="dlist"><dl>
+<dt class="hdlist1">
+<strong>EFAULT</strong>
+</dt>
+<dd>
+<p>
+Invalid message.
+</p>
+</dd>
+</dl></div>
</div>
<h2 id="_see_also">SEE ALSO</h2>
<div class="sectionbody">
@@ -639,8 +648,8 @@ Martin Lucina &lt;<a href="mailto:mato@kotelna.sk">mato@kotelna.sk</a>&gt;.</p><
<div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
-ØMQ 2.1.4<br />
-Last updated 2011-03-13 17:59:17 CEST
+ØMQ 2.1.5<br />
+Last updated 2011-04-20 12:15:32 CEST
</div>
</div>
</body>
diff --git a/doc/zmq_msg_copy.txt b/doc/zmq_msg_copy.txt
index d23dcdb..d6ce1b9 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_data.3 b/doc/zmq_msg_data.3
index 6470f6b..e619197 100644
--- a/doc/zmq_msg_data.3
+++ b/doc/zmq_msg_data.3
@@ -2,12 +2,12 @@
.\" Title: zmq_msg_data
.\" Author: [see the "AUTHORS" section]
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
-.\" Date: 03/30/2011
+.\" Date: 04/20/2011
.\" Manual: 0MQ Manual
-.\" Source: 0MQ 2.1.4
+.\" Source: 0MQ 2.1.5
.\" Language: English
.\"
-.TH "ZMQ_MSG_DATA" "3" "03/30/2011" "0MQ 2\&.1\&.4" "0MQ Manual"
+.TH "ZMQ_MSG_DATA" "3" "04/20/2011" "0MQ 2\&.1\&.5" "0MQ Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff --git a/doc/zmq_msg_init.3 b/doc/zmq_msg_init.3
index f4cc7c7..8fe45bf 100644
--- a/doc/zmq_msg_init.3
+++ b/doc/zmq_msg_init.3
@@ -2,12 +2,12 @@
.\" Title: zmq_msg_init
.\" Author: [see the "AUTHORS" section]
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
-.\" Date: 03/30/2011
+.\" Date: 04/20/2011
.\" Manual: 0MQ Manual
-.\" Source: 0MQ 2.1.4
+.\" Source: 0MQ 2.1.5
.\" Language: English
.\"
-.TH "ZMQ_MSG_INIT" "3" "03/30/2011" "0MQ 2\&.1\&.4" "0MQ Manual"
+.TH "ZMQ_MSG_INIT" "3" "04/20/2011" "0MQ 2\&.1\&.5" "0MQ Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff --git a/doc/zmq_msg_init_data.3 b/doc/zmq_msg_init_data.3
index b89821f..c042a87 100644
--- a/doc/zmq_msg_init_data.3
+++ b/doc/zmq_msg_init_data.3
@@ -2,12 +2,12 @@
.\" Title: zmq_msg_init_data
.\" Author: [see the "AUTHORS" section]
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
-.\" Date: 03/30/2011
+.\" Date: 04/20/2011
.\" Manual: 0MQ Manual
-.\" Source: 0MQ 2.1.4
+.\" Source: 0MQ 2.1.5
.\" Language: English
.\"
-.TH "ZMQ_MSG_INIT_DATA" "3" "03/30/2011" "0MQ 2\&.1\&.4" "0MQ Manual"
+.TH "ZMQ_MSG_INIT_DATA" "3" "04/20/2011" "0MQ 2\&.1\&.5" "0MQ Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
@@ -68,6 +68,22 @@ Never access \fIzmq_msg_t\fR members directly, instead always use the \fIzmq_msg
.ps -1
.br
.sp
+The deallocation function \fIffn\fR needs to be thread\-safe, since it will be called from an arbitrary thread\&.
+.sp .5v
+.RE
+.if n \{\
+.sp
+.\}
+.RS 4
+.it 1 an-trap
+.nr an-no-space-flag 1
+.nr an-break-flag 1
+.br
+.ps +1
+\fBCaution\fR
+.ps -1
+.br
+.sp
The functions \fIzmq_msg_init()\fR, \fIzmq_msg_init_data()\fR and \fIzmq_msg_init_size()\fR are mutually exclusive\&. Never initialize the same \fIzmq_msg_t\fR twice\&.
.sp .5v
.RE
diff --git a/doc/zmq_msg_init_data.html b/doc/zmq_msg_init_data.html
index efc259f..aebd2a7 100644
--- a/doc/zmq_msg_init_data.html
+++ b/doc/zmq_msg_init_data.html
@@ -608,6 +608,15 @@ supplied to <em>zmq_msg_init_data()</em>.</p></div>
<td class="icon">
<div class="title">Caution</div>
</td>
+<td class="content">The deallocation function <em>ffn</em> needs to be thread-safe, since it
+will be called from an arbitrary thread.</td>
+</tr></table>
+</div>
+<div class="admonitionblock">
+<table><tr>
+<td class="icon">
+<div class="title">Caution</div>
+</td>
<td class="content">The functions <em>zmq_msg_init()</em>, <em>zmq_msg_init_data()</em> and
<em>zmq_msg_init_size()</em> are mutually exclusive. Never initialize the same
<em>zmq_msg_t</em> twice.</td>
@@ -661,8 +670,8 @@ Martin Lucina &lt;<a href="mailto:mato@kotelna.sk">mato@kotelna.sk</a>&gt;.</p><
<div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
-ØMQ 2.1.4<br />
-Last updated 2011-03-13 17:59:17 CEST
+ØMQ 2.1.5<br />
+Last updated 2011-04-16 10:29:20 CEST
</div>
</div>
</body>
diff --git a/doc/zmq_msg_init_data.txt b/doc/zmq_msg_init_data.txt
index 50f05c5..2842c10 100644
--- a/doc/zmq_msg_init_data.txt
+++ b/doc/zmq_msg_init_data.txt
@@ -28,6 +28,9 @@ supplied to _zmq_msg_init_data()_.
CAUTION: Never access 'zmq_msg_t' members directly, instead always use the
_zmq_msg_ family of functions.
+CAUTION: The deallocation function 'ffn' needs to be thread-safe, since it
+will be called from an arbitrary thread.
+
CAUTION: The functions _zmq_msg_init()_, _zmq_msg_init_data()_ and
_zmq_msg_init_size()_ are mutually exclusive. Never initialize the same
'zmq_msg_t' twice.
diff --git a/doc/zmq_msg_init_size.3 b/doc/zmq_msg_init_size.3
index 324f751..a0d174d 100644
--- a/doc/zmq_msg_init_size.3
+++ b/doc/zmq_msg_init_size.3
@@ -2,12 +2,12 @@
.\" Title: zmq_msg_init_size
.\" Author: [see the "AUTHORS" section]
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
-.\" Date: 03/30/2011
+.\" Date: 04/20/2011
.\" Manual: 0MQ Manual
-.\" Source: 0MQ 2.1.4
+.\" Source: 0MQ 2.1.5
.\" Language: English
.\"
-.TH "ZMQ_MSG_INIT_SIZE" "3" "03/30/2011" "0MQ 2\&.1\&.4" "0MQ Manual"
+.TH "ZMQ_MSG_INIT_SIZE" "3" "04/20/2011" "0MQ 2\&.1\&.5" "0MQ Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff --git a/doc/zmq_msg_move.3 b/doc/zmq_msg_move.3
index 1899c63..e5625f5 100644
--- a/doc/zmq_msg_move.3
+++ b/doc/zmq_msg_move.3
@@ -2,12 +2,12 @@
.\" Title: zmq_msg_move
.\" Author: [see the "AUTHORS" section]
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
-.\" Date: 03/30/2011
+.\" Date: 04/20/2011
.\" Manual: 0MQ Manual
-.\" Source: 0MQ 2.1.4
+.\" Source: 0MQ 2.1.5
.\" Language: English
.\"
-.TH "ZMQ_MSG_MOVE" "3" "03/30/2011" "0MQ 2\&.1\&.4" "0MQ Manual"
+.TH "ZMQ_MSG_MOVE" "3" "04/20/2011" "0MQ 2\&.1\&.5" "0MQ Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
@@ -55,8 +55,11 @@ Never access \fIzmq_msg_t\fR members directly, instead always use the \fIzmq_msg
.sp
The \fIzmq_msg_move()\fR function shall return zero if successful\&. Otherwise it shall return \-1 and set \fIerrno\fR to one of the values defined below\&.
.SH "ERRORS"
-.sp
-No errors are defined\&.
+.PP
+\fBEFAULT\fR
+.RS 4
+Invalid message\&.
+.RE
.SH "SEE ALSO"
.sp
\fBzmq_msg_copy\fR(3) \fBzmq_msg_init\fR(3) \fBzmq_msg_init_size\fR(3) \fBzmq_msg_init_data\fR(3) \fBzmq_msg_close\fR(3) \fBzmq\fR(7)
diff --git a/doc/zmq_msg_move.html b/doc/zmq_msg_move.html
index 78f09a8..ed36938 100644
--- a/doc/zmq_msg_move.html
+++ b/doc/zmq_msg_move.html
@@ -608,7 +608,16 @@ shall return <tt>-1</tt> and set <em>errno</em> to one of the values defined bel
</div>
<h2 id="_errors">ERRORS</h2>
<div class="sectionbody">
-<div class="paragraph"><p>No errors are defined.</p></div>
+<div class="dlist"><dl>
+<dt class="hdlist1">
+<strong>EFAULT</strong>
+</dt>
+<dd>
+<p>
+Invalid message.
+</p>
+</dd>
+</dl></div>
</div>
<h2 id="_see_also">SEE ALSO</h2>
<div class="sectionbody">
@@ -628,8 +637,8 @@ Martin Lucina &lt;<a href="mailto:mato@kotelna.sk">mato@kotelna.sk</a>&gt;.</p><
<div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
-ØMQ 2.1.4<br />
-Last updated 2011-03-13 17:59:17 CEST
+ØMQ 2.1.5<br />
+Last updated 2011-04-20 12:15:32 CEST
</div>
</div>
</body>
diff --git a/doc/zmq_msg_move.txt b/doc/zmq_msg_move.txt
index 5e4081b..6ab6eab 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_msg_size.3 b/doc/zmq_msg_size.3
index 4cead02..114d7af 100644
--- a/doc/zmq_msg_size.3
+++ b/doc/zmq_msg_size.3
@@ -2,12 +2,12 @@
.\" Title: zmq_msg_size
.\" Author: [see the "AUTHORS" section]
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
-.\" Date: 03/30/2011
+.\" Date: 04/20/2011
.\" Manual: 0MQ Manual
-.\" Source: 0MQ 2.1.4
+.\" Source: 0MQ 2.1.5
.\" Language: English
.\"
-.TH "ZMQ_MSG_SIZE" "3" "03/30/2011" "0MQ 2\&.1\&.4" "0MQ Manual"
+.TH "ZMQ_MSG_SIZE" "3" "04/20/2011" "0MQ 2\&.1\&.5" "0MQ Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff --git a/doc/zmq_pgm.7 b/doc/zmq_pgm.7
index 1559950..3c4c7d1 100644
--- a/doc/zmq_pgm.7
+++ b/doc/zmq_pgm.7
@@ -2,12 +2,12 @@
.\" Title: zmq_pgm
.\" Author: [see the "AUTHORS" section]
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
-.\" Date: 03/30/2011
+.\" Date: 04/20/2011
.\" Manual: 0MQ Manual
-.\" Source: 0MQ 2.1.4
+.\" Source: 0MQ 2.1.5
.\" Language: English
.\"
-.TH "ZMQ_PGM" "7" "03/30/2011" "0MQ 2\&.1\&.4" "0MQ Manual"
+.TH "ZMQ_PGM" "7" "04/20/2011" "0MQ 2\&.1\&.5" "0MQ Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
@@ -124,6 +124,8 @@ data = *OCTET
.sp
In order for late joining consumers to be able to identify message boundaries, each PGM datagram payload starts with a 16\-bit unsigned integer in network byte order specifying either the offset of the first message \fIframe\fR in the datagram or containing the value 0xFFFF if the datagram contains solely an intermediate part of a larger message\&.
.sp
+Note that offset specifies where the first message begins rather than the first message part\&. Thus, if there are trailing message parts at the beginning of the packet the offset ignores them and points to first initial message part in the packet\&.
+.sp
The following diagram illustrates the layout of a single PGM datagram payload:
.sp
.if n \{\
diff --git a/doc/zmq_pgm.html b/doc/zmq_pgm.html
index 5506fa1..9383d71 100644
--- a/doc/zmq_pgm.html
+++ b/doc/zmq_pgm.html
@@ -672,6 +672,10 @@ each PGM datagram payload starts with a 16-bit unsigned integer in network byte
order specifying either the offset of the first message <em>frame</em> in the datagram
or containing the value <tt>0xFFFF</tt> if the datagram contains solely an
intermediate part of a larger message.</p></div>
+<div class="paragraph"><p>Note that offset specifies where the first message begins rather than the first
+message part. Thus, if there are trailing message parts at the beginning of
+the packet the offset ignores them and points to first initial message part
+in the packet.</p></div>
<div class="paragraph"><p>The following diagram illustrates the layout of a single PGM datagram payload:</p></div>
<div class="literalblock">
<div class="content">
@@ -737,8 +741,8 @@ Martin Lucina &lt;<a href="mailto:mato@kotelna.sk">mato@kotelna.sk</a>&gt;.</p><
<div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
-ØMQ 2.1.4<br />
-Last updated 2011-03-13 17:59:17 CEST
+ØMQ 2.1.5<br />
+Last updated 2011-04-16 10:29:20 CEST
</div>
</div>
</body>
diff --git a/doc/zmq_pgm.txt b/doc/zmq_pgm.txt
index 72ae24f..9a48afd 100644
--- a/doc/zmq_pgm.txt
+++ b/doc/zmq_pgm.txt
@@ -93,6 +93,11 @@ order specifying either the offset of the first message 'frame' in the datagram
or containing the value `0xFFFF` if the datagram contains solely an
intermediate part of a larger message.
+Note that offset specifies where the first message begins rather than the first
+message part. Thus, if there are trailing message parts at the beginning of
+the packet the offset ignores them and points to first initial message part
+in the packet.
+
The following diagram illustrates the layout of a single PGM datagram payload:
....
diff --git a/doc/zmq_poll.3 b/doc/zmq_poll.3
index a3cc9fc..0c6731b 100644
--- a/doc/zmq_poll.3
+++ b/doc/zmq_poll.3
@@ -2,12 +2,12 @@
.\" Title: zmq_poll
.\" Author: [see the "AUTHORS" section]
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
-.\" Date: 03/30/2011
+.\" Date: 04/20/2011
.\" Manual: 0MQ Manual
-.\" Source: 0MQ 2.1.4
+.\" Source: 0MQ 2.1.5
.\" Language: English
.\"
-.TH "ZMQ_POLL" "3" "03/30/2011" "0MQ 2\&.1\&.4" "0MQ Manual"
+.TH "ZMQ_POLL" "3" "04/20/2011" "0MQ 2\&.1\&.5" "0MQ Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff --git a/doc/zmq_recv.3 b/doc/zmq_recv.3
index 0103c7f..7a7608e 100644
--- a/doc/zmq_recv.3
+++ b/doc/zmq_recv.3
@@ -2,12 +2,12 @@
.\" Title: zmq_recv
.\" Author: [see the "AUTHORS" section]
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
-.\" Date: 03/30/2011
+.\" Date: 04/20/2011
.\" Manual: 0MQ Manual
-.\" Source: 0MQ 2.1.4
+.\" Source: 0MQ 2.1.5
.\" Language: English
.\"
-.TH "ZMQ_RECV" "3" "03/30/2011" "0MQ 2\&.1\&.4" "0MQ Manual"
+.TH "ZMQ_RECV" "3" "04/20/2011" "0MQ 2\&.1\&.5" "0MQ Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
@@ -100,6 +100,11 @@ was not valid (NULL)\&.
.RS 4
The operation was interrupted by delivery of a signal before a message was available\&.
.RE
+.PP
+\fBEFAULT\fR
+.RS 4
+The message passed to the function was invalid\&.
+.RE
.SH "EXAMPLE"
.PP
\fBReceiving a message from a socket\fR.
diff --git a/doc/zmq_recv.html b/doc/zmq_recv.html
index 9ee3454..830f249 100644
--- a/doc/zmq_recv.html
+++ b/doc/zmq_recv.html
@@ -677,6 +677,14 @@ The operation was interrupted by delivery of a signal before a message was
available.
</p>
</dd>
+<dt class="hdlist1">
+<strong>EFAULT</strong>
+</dt>
+<dd>
+<p>
+The message passed to the function was invalid.
+</p>
+</dd>
</dl></div>
</div>
<h2 id="_example">EXAMPLE</h2>
@@ -730,8 +738,8 @@ Martin Lucina &lt;<a href="mailto:mato@kotelna.sk">mato@kotelna.sk</a>&gt;.</p><
<div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
-ØMQ 2.1.4<br />
-Last updated 2011-03-13 17:59:17 CEST
+ØMQ 2.1.5<br />
+Last updated 2011-04-20 12:15:32 CEST
</div>
</div>
</body>
diff --git a/doc/zmq_recv.txt b/doc/zmq_recv.txt
index 1e6e65d..f33af29 100644
--- a/doc/zmq_recv.txt
+++ b/doc/zmq_recv.txt
@@ -68,6 +68,8 @@ The provided 'socket' was not valid (NULL).
*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.3 b/doc/zmq_send.3
index b6ebcd5..20de946 100644
--- a/doc/zmq_send.3
+++ b/doc/zmq_send.3
@@ -2,12 +2,12 @@
.\" Title: zmq_send
.\" Author: [see the "AUTHORS" section]
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
-.\" Date: 03/30/2011
+.\" Date: 04/20/2011
.\" Manual: 0MQ Manual
-.\" Source: 0MQ 2.1.4
+.\" Source: 0MQ 2.1.5
.\" Language: English
.\"
-.TH "ZMQ_SEND" "3" "03/30/2011" "0MQ 2\&.1\&.4" "0MQ Manual"
+.TH "ZMQ_SEND" "3" "04/20/2011" "0MQ 2\&.1\&.5" "0MQ Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
@@ -50,6 +50,8 @@ set to EAGAIN\&.
.RS 4
Specifies that the message being sent is a multi\-part message, and that further message parts are to follow\&. Refer to the section regarding multi\-part messages below for a detailed description\&.
.RE
+.sp
+The \fIzmq_msg_t\fR structure passed to \fIzmq_send()\fR is nullified during the call\&. If you want to send the same message to multiple sockets you have to copy it using (e\&.g\&. using \fIzmq_msg_copy()\fR)\&.
.if n \{\
.sp
.\}
@@ -121,6 +123,11 @@ was not valid (NULL)\&.
.RS 4
The operation was interrupted by delivery of a signal before the message was sent\&.
.RE
+.PP
+\fBEFAULT\fR
+.RS 4
+Invalid message\&.
+.RE
.SH "EXAMPLE"
.PP
\fBFilling in a message and sending it to a socket\fR.
diff --git a/doc/zmq_send.html b/doc/zmq_send.html
index eeb4654..70c1ebe 100644
--- a/doc/zmq_send.html
+++ b/doc/zmq_send.html
@@ -611,6 +611,9 @@ below for a detailed description.
</p>
</dd>
</dl></div>
+<div class="paragraph"><p>The <em>zmq_msg_t</em> structure passed to <em>zmq_send()</em> is nullified during the call.
+If you want to send the same message to multiple sockets you have to copy it
+using (e.g. using <em>zmq_msg_copy()</em>).</p></div>
<div class="admonitionblock">
<table><tr>
<td class="icon">
@@ -694,6 +697,14 @@ The operation was interrupted by delivery of a signal before the message was
sent.
</p>
</dd>
+<dt class="hdlist1">
+<strong>EFAULT</strong>
+</dt>
+<dd>
+<p>
+Invalid message.
+</p>
+</dd>
</dl></div>
</div>
<h2 id="_example">EXAMPLE</h2>
@@ -736,8 +747,8 @@ Martin Lucina &lt;<a href="mailto:mato@kotelna.sk">mato@kotelna.sk</a>&gt;.</p><
<div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
-ØMQ 2.1.4<br />
-Last updated 2011-03-13 17:59:17 CEST
+ØMQ 2.1.5<br />
+Last updated 2011-04-20 12:15:32 CEST
</div>
</div>
</body>
diff --git a/doc/zmq_send.txt b/doc/zmq_send.txt
index 87b3a3f..d61ae75 100644
--- a/doc/zmq_send.txt
+++ b/doc/zmq_send.txt
@@ -28,6 +28,10 @@ Specifies that the message being sent is a multi-part message, and that further
message parts are to follow. Refer to the section regarding multi-part messages
below for a detailed description.
+The _zmq_msg_t_ structure passed to _zmq_send()_ is nullified during the call.
+If you want to send the same message to multiple sockets you have to copy it
+using (e.g. using _zmq_msg_copy()_).
+
NOTE: A successful invocation of _zmq_send()_ does not indicate that the
message has been transmitted to the network, only that it has been queued on
the 'socket' and 0MQ has assumed responsibility for the message.
@@ -74,6 +78,8 @@ The provided 'socket' was not valid (NULL).
*EINTR*::
The operation was interrupted by delivery of a signal before the message was
sent.
+*EFAULT*::
+Invalid message.
EXAMPLE
diff --git a/doc/zmq_setsockopt.3 b/doc/zmq_setsockopt.3
index 029a2de..00da7e2 100644
--- a/doc/zmq_setsockopt.3
+++ b/doc/zmq_setsockopt.3
@@ -2,12 +2,12 @@
.\" Title: zmq_setsockopt
.\" Author: [see the "AUTHORS" section]
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
-.\" Date: 03/30/2011
+.\" Date: 04/20/2011
.\" Manual: 0MQ Manual
-.\" Source: 0MQ 2.1.4
+.\" Source: 0MQ 2.1.5
.\" Language: English
.\"
-.TH "ZMQ_SETSOCKOPT" "3" "03/30/2011" "0MQ 2\&.1\&.4" "0MQ Manual"
+.TH "ZMQ_SETSOCKOPT" "3" "04/20/2011" "0MQ 2\&.1\&.5" "0MQ Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff --git a/doc/zmq_socket.3 b/doc/zmq_socket.3
index fc86d6d..a6b9ebe 100644
--- a/doc/zmq_socket.3
+++ b/doc/zmq_socket.3
@@ -2,12 +2,12 @@
.\" Title: zmq_socket
.\" Author: [see the "AUTHORS" section]
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
-.\" Date: 03/30/2011
+.\" Date: 04/20/2011
.\" Manual: 0MQ Manual
-.\" Source: 0MQ 2.1.4
+.\" Source: 0MQ 2.1.5
.\" Language: English
.\"
-.TH "ZMQ_SOCKET" "3" "03/30/2011" "0MQ 2\&.1\&.4" "0MQ Manual"
+.TH "ZMQ_SOCKET" "3" "04/20/2011" "0MQ 2\&.1\&.5" "0MQ Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
@@ -748,7 +748,12 @@ is invalid\&.
.RS 4
The provided
\fIcontext\fR
-was not valid (NULL)\&.
+is invalid\&.
+.RE
+.PP
+\fBEMFILE\fR
+.RS 4
+The limit on the total number of open 0MQ sockets has been reached\&.
.RE
.PP
\fBETERM\fR
diff --git a/doc/zmq_socket.html b/doc/zmq_socket.html
index 3815b04..a5ec995 100644
--- a/doc/zmq_socket.html
+++ b/doc/zmq_socket.html
@@ -1375,7 +1375,15 @@ The requested socket <em>type</em> is invalid.
</dt>
<dd>
<p>
-The provided <em>context</em> was not valid (NULL).
+The provided <em>context</em> is invalid.
+</p>
+</dd>
+<dt class="hdlist1">
+<strong>EMFILE</strong>
+</dt>
+<dd>
+<p>
+The limit on the total number of open ØMQ sockets has been reached.
</p>
</dd>
<dt class="hdlist1">
@@ -1408,8 +1416,8 @@ Martin Lucina &lt;<a href="mailto:mato@kotelna.sk">mato@kotelna.sk</a>&gt;.</p><
<div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
-ØMQ 2.1.4<br />
-Last updated 2011-03-20 10:25:25 CEST
+ØMQ 2.1.5<br />
+Last updated 2011-04-20 12:29:28 CEST
</div>
</div>
</body>
diff --git a/doc/zmq_socket.txt b/doc/zmq_socket.txt
index 6250b38..7428a91 100644
--- a/doc/zmq_socket.txt
+++ b/doc/zmq_socket.txt
@@ -318,7 +318,9 @@ ERRORS
*EINVAL*::
The requested socket 'type' is invalid.
*EFAULT*::
-The provided 'context' was not valid (NULL).
+The provided 'context' is invalid.
+*EMFILE*::
+The limit on the total number of open 0MQ sockets has been reached.
*ETERM*::
The context specified was terminated.
diff --git a/doc/zmq_strerror.3 b/doc/zmq_strerror.3
index e334d86..6bf0d5c 100644
--- a/doc/zmq_strerror.3
+++ b/doc/zmq_strerror.3
@@ -2,12 +2,12 @@
.\" Title: zmq_strerror
.\" Author: [see the "AUTHORS" section]
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
-.\" Date: 03/30/2011
+.\" Date: 04/20/2011
.\" Manual: 0MQ Manual
-.\" Source: 0MQ 2.1.4
+.\" Source: 0MQ 2.1.5
.\" Language: English
.\"
-.TH "ZMQ_STRERROR" "3" "03/30/2011" "0MQ 2\&.1\&.4" "0MQ Manual"
+.TH "ZMQ_STRERROR" "3" "04/20/2011" "0MQ 2\&.1\&.5" "0MQ Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff --git a/doc/zmq_tcp.7 b/doc/zmq_tcp.7
index cee6c1b..58e6360 100644
--- a/doc/zmq_tcp.7
+++ b/doc/zmq_tcp.7
@@ -2,12 +2,12 @@
.\" Title: zmq_tcp
.\" Author: [see the "AUTHORS" section]
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
-.\" Date: 03/30/2011
+.\" Date: 04/20/2011
.\" Manual: 0MQ Manual
-.\" Source: 0MQ 2.1.4
+.\" Source: 0MQ 2.1.5
.\" Language: English
.\"
-.TH "ZMQ_TCP" "7" "03/30/2011" "0MQ 2\&.1\&.4" "0MQ Manual"
+.TH "ZMQ_TCP" "7" "04/20/2011" "0MQ 2\&.1\&.5" "0MQ Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff --git a/doc/zmq_term.3 b/doc/zmq_term.3
index f45add6..5c94bea 100644
--- a/doc/zmq_term.3
+++ b/doc/zmq_term.3
@@ -2,12 +2,12 @@
.\" Title: zmq_term
.\" Author: [see the "AUTHORS" section]
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
-.\" Date: 03/30/2011
+.\" Date: 04/20/2011
.\" Manual: 0MQ Manual
-.\" Source: 0MQ 2.1.4
+.\" Source: 0MQ 2.1.5
.\" Language: English
.\"
-.TH "ZMQ_TERM" "3" "03/30/2011" "0MQ 2\&.1\&.4" "0MQ Manual"
+.TH "ZMQ_TERM" "3" "04/20/2011" "0MQ 2\&.1\&.5" "0MQ Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff --git a/doc/zmq_version.3 b/doc/zmq_version.3
index c8fcd6e..10e27d4 100644
--- a/doc/zmq_version.3
+++ b/doc/zmq_version.3
@@ -2,12 +2,12 @@
.\" Title: zmq_version
.\" Author: [see the "AUTHORS" section]
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
-.\" Date: 03/30/2011
+.\" Date: 04/20/2011
.\" Manual: 0MQ Manual
-.\" Source: 0MQ 2.1.4
+.\" Source: 0MQ 2.1.5
.\" Language: English
.\"
-.TH "ZMQ_VERSION" "3" "03/30/2011" "0MQ 2\&.1\&.4" "0MQ Manual"
+.TH "ZMQ_VERSION" "3" "04/20/2011" "0MQ 2\&.1\&.5" "0MQ Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------