Manpage logo

nng_msg_clear - clear message body content

NAME  SYNOPSIS  DESCRIPTION  RETURN VALUES  ERRORS  SEE ALSO 

NAME

nng_msg_clear − clear message body content

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.

SEE ALSO

nng_msg(5), nng(7)


Updated 2026-06-01 - jenkler.se | uex.se