#include <nanomsg/nn.h>
int nn_freemsg(void *msg);
This documentation is for version v1.6.0 of NNG, but the latest released version is v1.8.0. see the documentation for v1.8.0 for the most up-to-date information. |
nn_freemsg(3compat)
NAME
nn_freemsg - free message (compatible API)
SYNOPSIS
DESCRIPTION
The nn_freemsg()
deallocates a message previously allocated with
nn_allocmsg()
or similar functions.
This function is provided for API compatibility with legacy libnanomsg. Consider using the relevant modern API instead. |
RETURN VALUES
This function always returns 0.
ERRORS
None.