KHTTP_FCGI_FREE(3)
π¦ KHTTP_FCGI_FREE(3) π¦
okay so hi bestie!! welcome to the Library Functions Manual page for KHTTP_FCGI_FREE(3), where we're talking about freeing a FastCGI instance for kcgi. it's giving cleanup era, and honestly? iconic β¨
π NAME π
khttp_fcgi_free, khttp_fcgi_child_free β free a FastCGI instance for kcgi. periodt.
π LIBRARY π
the library is libkcgi, and yes she ate.
β¨ SYNOPSIS β¨
okay here's the exact include situation and the function signatures, no cap:
#include <sys/types.h>
#include <stdarg.h>
#include <stdint.h>
#include <kcgi.h>
enum kcgi_err
khttp_fcgi_free(struct kfcgi *fcgi);
void
khttp_fcgi_child_free(struct kfcgi *fcgi);
πΈ DESCRIPTION πΈ
so khttp_fcgi_free() and khttp_fcgi_child_free() are the cleanup besties: they free the resources of fcgi that were allocated by khttp_fcgi_init(3). after calling this function, fcgi cannot be used β like, it's done, do not touch it, periodt π
khttp_fcgi_child_free() performs the same operations as khttp_fcgi_free(), but it's careful not to trample on any open streams. thus, it may be used after invoking fork(2) without confusing the output buffer or other child processes. highkey the move for child-process situations π«Ά
π SEE ALSO π
π AUTHORS π
the khttp_fcgi_free() and khttp_fcgi_child_free() functions were written by Kristaps Dzonsons <kristaps@bsd.lv>. slay.
β cute sign-off: this page comes from Debian, it's KHTTP_FCGI_FREE(3), and its date is $Mdocdate$ πβ¨
π¦ where this page comes from
- alpine 3.24: kcgi-doc 1.0.1-r0 Β· ISC
- Copyright (c) 2015 Kristaps Dzonsons <kristaps@bsd.lv>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms