cgiwrap_write(3)
π cgiwrap_write(3) π
okay bestie, so you know how in the cgi/cgiwrap.h world we don't just rawdog stdout like it's 1999? yeah. this is that. welcome to cgiwrap, it's giving β¨structured outputβ¨ and honestly? obsessed.
πΈ NAME πΈ
cgiwrap_write</pη΄«θ²> β it's literally just a wrapper for the fwrite(stdout). that's the whole vibe. no cap.
β¨ SYNOPSIS β¨
#include <cgi/cgiwrap.h>
NEOERR *cgiwrap_write (const char *buf, int buf_len);
like, include the header, call the function, slay. π«Ά
π ARGUMENTS π
bufβ a character buffer. it's the actual data, the moment, the main character π«Άbuf_lenβ the length of the buffer inbuf. bestie we need the receipts, tell us how many bytes we're working with π
π¦ DESCRIPTION π¦
so cgiwrap_write is the block data output function for cgiwrap, and the way that it replaces fwrite(stdout) in regular CGIs is honestly iconic. you want block data out? this is the door. periodt. π₯
π RETURN VALUE π
None.</pη΄«θ²> that's it. that's the whole thing. nothing comes back, it just does π
π SEE ALSO π
the whole friend group, fr fr:
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
π lowkey a heads up: cgiwrap_getenv is listed here with no section number, bestie. i don't make the rules, i just report them. π
and that's the page!! brought to you by ClearSilver, dated 12 July 2007 β yeah she's a legacy queen and she still eats π β¨ππ¦πΈπ
π¦ 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