NNG_MSG_HEADER_CLEAR(3)
π NNG_MSG_HEADER_CLEAR π
okay bestie, welcome to the NNG Reference Manual</> πΈ this one's a lil baby page, like the shortest lil cutie in the whole header-management friend group, but she matters, so let's give her her moment β¨
β¨ NAME β¨
nng_msg_header_clear β clear message header π§Ή
β¨ SYNOPSIS β¨
#include <nng/nng.h>
void nng_msg_header_clear(nng_msg *msg);
β¨ DESCRIPTION β¨
okay so here's the whole vibe: the nng_msg_clear() function resets the header length of msg to zero. that's it. that's the whole thing. no drama, no side quests, just header length β 0 π
think of it like wiping the whiteboard clean, except the whiteboard is your message header and you don't even get a lil squeaky eraser sound π«Ά
β¨ RETURN VALUES β¨
None. literally nothing. she gives you nothing back and expects nothing in return, which is honestly such main character energy π
β¨ ERRORS β¨
None. zero. nada. no error codes, no sad little return values, no cryptic errno jumpscares π she does not do failure, periodt.
β¨ SEE ALSO β¨
your homework, bestie π go read these:
ngl this is the most chill function in the entire library. no options, no flags, no environment variables, no exit statuses, no signals, no warnings, no bugs noted, no authours credited in this page, and no license lines hiding in here either. just pure, unbothered, header-clearing serenity π¦
and that's the whole page, bestie!! π this lil slice of the NNG Reference Manual</> is dated 2026-06-30, so go forth and clear those headers with confidence β¨ mwah π π
π¦ where this page comes from
- ubuntu stonking: libnng-dev 1.12.0-1 Β· MIT OR Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms