NNG_MSG_CLEAR(3) | NNG Reference Manual | NNG_MSG_CLEAR(3) |
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.
nng_msg(5), nng(7)
2025-01-05 |