SYNOPSIS
#include <nng/nng.h>
void nng_msg_clear(nng_msg *msg);
DESCRIPTION
The nng_msg_clear()
function resets the body length of msg to zero.
RETURN VALUES
None.
ERRORS
None.
This documentation is for version v1.3.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. |
nng_msg_clear - clear message body content
#include <nng/nng.h>
void nng_msg_clear(nng_msg *msg);
The nng_msg_clear()
function resets the body length of msg to zero.
None.
None.