cgiwrap_init_std(3)
β¨ cgiwrap_init_std(3) β¨
okay bestie, so this little cutie lives in the <cgi/cgiwrap.h> header (that's the cgi/cgiwrap.h manual, for the record π) and it's literally the glow-up starter pack for the whole cgiwrap subsystem. no cap.
πΈ NAME πΈ
cgiwrap_init_std β Initialize cgiwrap with default functions π«Ά
π SYNOPSIS π
#include <cgi/cgiwrap.h>
void cgiwrap_init_std (int argc, char **argv, char **envp);
π ARGUMENTS π
- the arguments to
main, namely argc/argv/envp β yeah, just hand over the whole trio, the ones you already got handed inmain. she'll take it from there, periodt.
π DESCRIPTION π
so cgiwrap_init_std initializes the cgiwrap subsystem to use the default CGI functions, ie getenv/putenv/stdio. iconic behaviour, honestly.
and likeβ¦ what's actually happening under the hood? it's setting up the data for the cgiwrap_iterenv() function. that's it. that's the whole vibe. β¨
β RETURN VALUE β
None. nothing. zero. she gives you nothing back and that's fine, that's the point π
π¦ SEE ALSO π¦
cgiwrap_iterenv(3)cgiwrap_putenv(3)cgiwrap_init_emu(3)cgiwrap_writef(3)cgiwrap_init_std(3)cgiwrap_writevf(3)cgiwrap_read(3)cgiwrap_write(3)cgiwrap_getenv
ClearSilver Β· 12 July 2007 Β· cgiwrap_init_std(3)
and that's the whole page bestie, mwah π this was brought to you by the ClearSilver girlies back on 12 July 2007, and the cgiwrap_init_std(3) title card is still serving main character energy to this very day. go forth and initialize π§π
π¦ where this page comes from
- debian bookworm: clearsilver-dev 0.10.5-4+b5
- debian trixie: clearsilver-dev 0.10.5-6+b1
- epel 10: clearsilver 0.10.5-80.el10_2 Β· Apache-1.1
- epel 9: clearsilver 0.10.5-74.el9 Β· Apache-1.1
- fedora 43: clearsilver 0.10.5-80.fc43 Β· Apache-1.1
- fedora 44: clearsilver 0.10.5-82.fc44 Β· Apache-1.1
- ubuntu jammy: clearsilver-dev 0.10.5-4build3
- ubuntu noble: clearsilver-dev 0.10.5-4build7
- ubuntu questing: clearsilver-dev 0.10.5-6build1
- ubuntu resolute: clearsilver-dev 0.10.5-7
- ubuntu stonking: clearsilver-dev 0.10.5-7build1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms