blob: 0feb34915f8c8f113c0c7cb2a5407a2e9c1da413 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
## nn_freemsg
Free message (compatible API).
### Synopsis
[source,c]
```
#include <nanomsg/nn.h>
int nn_freemsg(void *msg);
```
### Description
The `nn_freemsg` deallocates a message previously allocated with xref:nn_allocmsg.adoc[`nn_allocmsg`] or similar functions.
### Return Values
This function always returns 0.
### See Also
xref:nn_allocmsg.adoc[nn_allocmsg],
xref:nn_freemsg.adoc[nn_freemsg],
xref:nn_errno.adoc[nn_errno]
|