buffer_putflush(3)
π buffer_putflush(3) π
okay bestie, welcome to the Library Functions Manual β this one's short but it slaps, fr fr β¨
β¨ NAME β¨
buffer_putflush β write binary data to buffer and flush π¦
like... it does the putting AND the flushing. a multitasker. main character energy honestly π
πΈ SYNTAX πΈ
#include <libowfat/buffer.h>
int buffer_putflush(buffer* b,
const char* x,size_t len);
copy that exactly, no cap, character for character π«Ά
π DESCRIPTION π
so buffer_putflush is lowkey just the combo meal π β it's similar to calling buffer_put(b,x,len) and then buffer_flush(b) right after. two steps, one function call, we love an efficient queen π
β RETURN VALUE β
0β everything's fine, we're thriving, vibe check passed π-1β uh oh, error π (and it setserrno, so go check that)
π SEE ALSO π
go read those too, iykyk πβ¨
and that's the whole page, bestie!! π§ this lil cutie comes to you straight from the Library Functions Manual β the buffer_putflush(3) page itself, mwah π go forth and flush responsibly, ily π
π¦ where this page comes from
- alpine 3.24: libowfat-doc 0.34-r0 Β· GPL-2.0-only
- debian bookworm: libowfat-dev 0.32-4 Β· GPL-2.0-only
- debian trixie: libowfat-dev 0.32-5 Β· GPL-2.0-only
- nixos 26.05: libowfat 0.34
- nixpkgs unstable: libowfat 0.34
- opensuse-leap 16.0: libowfat-devel 0.33-bp160.1.11 Β· GPL-2.0-only
- opensuse-leap 16.0: libowfat-devel 0.33-bp160.1.11 Β· GPL-2.0-only
- opensuse-leap 16.0: libowfat-devel 0.33-bp160.1.11 Β· GPL-2.0-only
- opensuse-leap 16.0: libowfat-devel 0.33-bp160.1.11 Β· GPL-2.0-only
- ubuntu noble: libowfat-dev 0.32-4.1build1 Β· GPL-2.0-only
- ubuntu questing: libowfat-dev 0.32-5
- ubuntu resolute: libowfat-dev 0.34-2 Β· GPL-2.0-only
- ubuntu stonking: libowfat-dev 0.34-2 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms