From 8b8fdbdc2e3fef03e21177eb3710491e4c080d43 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Thu, 23 Jan 2020 23:24:04 -0800 Subject: Publishing updates for v1.2.4 --- man/v1.2.4/nn_reallocmsg.3compat.html | 136 ++++++++++++++++++++++++++++++++++ 1 file changed, 136 insertions(+) create mode 100644 man/v1.2.4/nn_reallocmsg.3compat.html (limited to 'man/v1.2.4/nn_reallocmsg.3compat.html') diff --git a/man/v1.2.4/nn_reallocmsg.3compat.html b/man/v1.2.4/nn_reallocmsg.3compat.html new file mode 100644 index 00000000..e240c766 --- /dev/null +++ b/man/v1.2.4/nn_reallocmsg.3compat.html @@ -0,0 +1,136 @@ +--- +version: v1.2.4 +layout: refman +--- + + + + + + + +nn_reallocmsg(3compat) + + + + + + +
+
+

SYNOPSIS

+
+
+
+
#include <nanomsg/nn.h>
+
+void *nn_reallocmsg(void *old, size_t size);
+
+
+
+
+
+

DESCRIPTION

+
+
+

The nn_reallocmsg() reallocates the message old, making it of size size.

+
+
+ + + + + +
+ + +This function is provided for API +compatibility with legacy libnanomsg. +Consider using the relevant modern API instead. +
+
+
+

On success, the contents of old are copied into the new message +(truncating if appropriate), then old is deallocated, and a pointer +to the new message payload is returned.

+
+
+

On failure, the old message is unchanged, and the value NULL is returned +to the caller.

+
+
+
+
+

RETURN VALUES

+
+
+

This function returns a pointer to message buffer space, or NULL +on failure.

+
+
+
+
+

ERRORS

+
+
+ + + + + + + + + + + + + +
+ENOMEM + +

Insufficient memory is available.

+
+EINVAL + +

An invalid size was specified.

+
+ETERM + +

The library is shutting down.

+
+
+
+
+ +
+ + + \ No newline at end of file -- cgit v1.2.3-70-g09d2