KCGI_WRITER_FREE(3)
π 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
- alpine 3.24: kcgi-doc 1.0.1-r0 Β· ISC
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms