nng_msg_clear - clear message body content
Contents
Description
The nng_msg_clear() function resets the body length of msg to zero.
Errors
None.
Name
nng_msg_clear - clear message body content
Return Values
None.
See Also
nng_msg(5), nng(7) 2025-04-20 NNG_MSG_CLEAR(3)
Synopsis
#include <nng/nng.h>
void nng_msg_clear(nng_msg *msg);
