#include <nanomsg/nn.h>
int nn_freemsg(void *msg);
--- version: tip layout: manpage_v2 title: nn_freemsg(3compat) ---
nn_freemsg - free message (compatible API)
#include <nanomsg/nn.h>
int nn_freemsg(void *msg);
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. |
This function always returns 0.
None.