'\" t
.\"     Title: nng_msg_clear
.\"    Author: [see the "AUTHOR(S)" section]
.\" Generator: Asciidoctor 2.0.20
.\"      Date: 2024-05-31
.\"    Manual: NNG Reference Manual
.\"    Source: \ \&
.\"  Language: English
.\"
.TH "NNG_MSG_CLEAR" "3" "2024-05-31" "\ \&" "NNG Reference Manual"
.ie \n(.g .ds Aq \(aq
.el       .ds Aq '
.ss \n[.ss] 0
.nh
.ad l
.de URL
\fI\\$2\fP <\\$1>\\$3
..
.als MTO URL
.if \n[.g] \{\
.  mso www.tmac
.  am URL
.    ad l
.  .
.  am MTO
.    ad l
.  .
.  LINKSTYLE blue R < >
.\}
.SH "NAME"
nng_msg_clear \- clear message body content
.SH "SYNOPSIS"
.sp
.if n .RS 4
.nf
.fam C
#include <nng/nng.h>

void nng_msg_clear(nng_msg *msg);
.fam
.fi
.if n .RE
.SH "DESCRIPTION"
.sp
The \f(CRnng_msg_clear()\fP function resets the body length of \fImsg\fP to zero.
.SH "RETURN VALUES"
.sp
None.
.SH "ERRORS"
.sp
None.
.SH "SEE ALSO"
.sp
nng_msg(5),
nng(7)
