NNG_URL_FREE(3)
β¨ NNG_URL_FREE(3) β¨
okay bestie, welcome to the NNG Reference Manual π this is the page for nng_url_free, and honestly? it's giving "tiny function, huge responsibility." let's get into it π«Ά
πΈ NAME πΈ
nng_url_free β free a URL structure π
π SYNOPSIS π
#include <nng/nng.h>
void nng_url_free(nng_url *url);
like, that's it. that's the whole vibe. one include, one call. iconic. β¨
π¦ DESCRIPTION π¦
so the nng_url_free() function deallocates the url entirely β and when we say entirely, we mean entirely, bestie. not just the struct itself. every single one of its members goes too. all of it. gone. π
so if you parsed a URL earlier and you're done with it, this is your girl. she takes the whole thing down, members and all, no leftovers, no crumbs. π§Ήβ¨
fr fr, don't touch that url after you free it. it's not yours anymore, it's the allocator's problem now.
β RETURN VALUES β
None. zero. nada. it returns void, because what would it even say? "you're welcome"? π
π ERRORS π
None. she cannot fail. she simply frees. main character energy, no notes. π
π SEE ALSO π
okay that's the whole page, bestie, you ate that π if you're out here cloning URLs, parsing URLs, or just vibing with the general nng situation, all of those are linked above, iykyk π
and that's a wrap!! this lil masterpiece lives in the NNG Reference Manual, dated 2026-06-30. mwah. go free something. πΈπ¦β¨
π¦ 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