buffer_putsflush(3)
π buffer_putsflush(3) β the libowfat glow-up you didn't know you needed π
okay bestie, sit down, hydrate, because we're talking about buffer_putsflush(3) from the Library Functions Manual and honestly? she's a little icon. π
β¨ NAME β¨
buffer_putsflush β write an ASCIIZ string to a buffer and flush it. like, write it and immediately send it, no waiting around, no ghosting. π
πΈ SYNTAX πΈ
#include <libowfat/buffer.h>
int buffer_putsflush(buffer* b,const char* x);
yes, that's buffer* b first and const char* x second, in that exact order, don't come for me. π«Ά
π¦ DESCRIPTION π¦
so buffer_putsflush is literally buffer_putflush, except the len is figured out for you: it's the number of bytes before the first \0 in x. π
that's it. that's the whole thing. it's giving "I don't want to count my own string length, you do it". no cap. β¨
π heads up: because it stops at the first \0, that's your string's ending right there β classic ASCIIZ behaviour, iykyk.
π SEE ALSO π
and that's the whole page, bestie!! π go forth and flush responsibly. this has been buffer_putsflush(3) from the Library Functions Manual β periodt. πβ¨ππ¦πΈ
π¦ 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