KHTTP_FCGI_FREE(3)

πŸ“¦
version 1.0.1 Β· 2 versions
, in alpine 3.24

πŸ¦‹ 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
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms