nng_msg_clear(3)

nng_msg_clear3

Clear message body content

Usage

#include <nng/nng.h>
void nng_msg_clear(nng_msg *msg);

Overview

The nng_msg_clear() function resets the body length of msg to zero.

Return values

None.

Errors

None.

From libnng-dev 1.10.1-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.