From 56619463ac26dc6c3e576d2fbf6b544eebeb5148 Mon Sep 17 00:00:00 2001 From: Martin Lucina Date: Sun, 20 May 2012 11:24:59 +0200 Subject: Imported Upstream version 2.2.0 --- doc/zmq_msg_init_data.html | 163 ++++++++++++++++++++++++++------------------- 1 file changed, 96 insertions(+), 67 deletions(-) (limited to 'doc/zmq_msg_init_data.html') diff --git a/doc/zmq_msg_init_data.html b/doc/zmq_msg_init_data.html index 2ee1b7e..430582c 100644 --- a/doc/zmq_msg_init_data.html +++ b/doc/zmq_msg_init_data.html @@ -2,15 +2,28 @@ "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> - - + + zmq_msg_init_data(3) - +
+

SYNOPSIS

typedef void (zmq_free_fn) (void *data, void *hint);

int zmq_msg_init_data (zmq_msg_t *msg, void *data, size_t size, zmq_free_fn *ffn, void *hint);

+
+

DESCRIPTION

The zmq_msg_init_data() function shall initialise the message object @@ -623,15 +642,21 @@ will be called from an arbitrary thread.

+
+

RETURN VALUE

The zmq_msg_init_data() function shall return zero if successful. Otherwise it shall return -1 and set errno to one of the values defined below.

+
+

ERRORS

No errors are defined.

+
+

EXAMPLE

@@ -652,6 +677,8 @@ rc = zmq_msg_init_data (&msg, data, 6, my_free, NULL); assert (rc == 0);
+
+

SEE ALSO

zmq_msg_init_size(3) @@ -661,17 +688,19 @@ assert (rc == 0); zmq_msg_size(3) zmq(7)

+
+

AUTHORS

-

This ØMQ manual page was written by Martin Sustrik <sustrik@250bpm.com> and -Martin Lucina <mato@kotelna.sk>.

+

This manual page was written by the ØMQ community.

+

-- cgit v1.2.3