From 7f829ab6b4abd3634f25ab4fc4d80044b852048a Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Fri, 9 Mar 2018 13:39:39 -0800 Subject: man page updates for 0.5.0 --- man/0.5.0/nng_msg_alloc.html | 585 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 585 insertions(+) create mode 100644 man/0.5.0/nng_msg_alloc.html (limited to 'man/0.5.0/nng_msg_alloc.html') diff --git a/man/0.5.0/nng_msg_alloc.html b/man/0.5.0/nng_msg_alloc.html new file mode 100644 index 00000000..4dfae1da --- /dev/null +++ b/man/0.5.0/nng_msg_alloc.html @@ -0,0 +1,585 @@ +--- +version: 0.5.0 +layout: refman +--- + + + + + + + +nng_msg_alloc(3) + + + + + + + +
+
+

SYNOPSIS

+
+
+
+
#include <nng/nng.h>
+
+int nng_msg_alloc(nng_msg **msgp, size_t size);
+
+
+
+
+
+

DESCRIPTION

+
+
+

The nng_msg_alloc() function allocates a new message with body length size +and stores the result in msgp. +Messages allocated with this function contain a body and optionally a header. +They are used with receive and transmit functions.

+
+
+
+
+

RETURN VALUES

+
+
+

This function returns 0 on success, and non-zero otherwise.

+
+
+
+
+

ERRORS

+
+
+
+
NNG_ENOMEM
+
+

Insufficient free memory exists to allocate a message.

+
+
+
+
+
+ +
+ + -- cgit v1.2.3-70-g09d2