KCGI_WRITER_FREE(3)

πŸ“¦ version 1.0.1, in alpine 3.24

πŸ’… KCGI_WRITER_FREE(3) β€” the "bye bestie" of writer channels ✨

okay so real talk, this one lives in the Library Functions Manual section, and the manual name is KCGI_WRITER_FREE β€” say it with me, it's giving cleanup era πŸ§ΉπŸ’–


🌸 NAME 🌸

kcgi_writer_free β€” free a writer, bestie. that's it. that's the whole job 🫢


πŸ“š LIBRARY πŸ“š

you're gonna need library β€œlibkcgi” β€” she's the icon, the moment, the whole vibe πŸ‘‘


✨ SYNOPSIS ✨

#include <sys/types.h>
#include <stdarg.h>
#include <stdint.h>
#include <kcgi.h>

void
kcgi_writer_free(struct kcgi_writer *writer);

like yes, four includes, but they're load-bearing ok πŸ˜­πŸ’…


πŸ’– DESCRIPTION πŸ’–

so kcgi_writer_free() frees the writer channel that got opened by kcgi_writer_get(3) β€” think of it as the goodbye text after the hangout, except this one is mandatory 🌈

and the way that after this the channel must not be used? yeah. no cap. it's gone, she's freed, do not touch. not even a little. not even to "just check something." the channel must not be used after the free. periodt πŸ’€βœ¨


πŸ¦‹ SEE ALSO πŸ¦‹

  • kcgi_writer_get(3) β€” the one that opens the channel in the first place, iykyk πŸŽ€

πŸ‘‘ AUTHORS πŸ‘‘

This function was written by Kristaps Dzonsons <kristaps@bsd.lv> β€” thank you king, we love a legend 🌟


and that's the whole page bestie, no crumbs left πŸ“

sign-off tea: this one comes from Debian, version $Mdocdate$, and it's filed under KCGI_WRITER_FREE(3) β€” go free that writer and slay the day away πŸ’œπŸ§šβ€β™€οΈπŸ¦‹

πŸ“¦ where this page comes from