NNG_MTX_FREE(3supp)

πŸ“¦ version 1.11, in alpine 3.24

okay so bestie, we're looking at NNG_MTX_FREE(3supp) from the NNG Reference Manual, and it's giving β€œtiny cleanup function with one very important rule” energy πŸ’…βœ¨

✨ NAME ✨

nng_mtx_free β€” free mutex, bestie πŸŽ€

🌸 SYNOPSIS 🌸

#include <nng/nng.h>

void nng_mtx_free(nng_mtx *mtx);

πŸ’… DESCRIPTION πŸ’…

The nng_mtx_free() function frees the mutex mtx, periodt. It's the free-the-mutex moment. πŸ’–

⚠️ real talk: the mutex must not be locked when this function is called. Like, do not come for this function while the mutex is still locked β€” that's the rule, fr fr. 😭

🫢 RETURN VALUES 🫢

None β€” literally none, bestie 🫢

πŸ™ˆ ERRORS πŸ™ˆ

None either. No error codes, no drama. πŸ™ˆ

πŸ¦‹ SEE ALSO πŸ¦‹


kisses and bye bestie 🫢 β€” this is NNG_MTX_FREE(3supp) from the NNG Reference Manual, dated 2026-01-13 ✨

πŸ“¦ where this page comes from