buffer_puterror(3)
π buffer_puterror(3) π
okay bestie, welcome to the libowfat manual, section 3, and today's main character is buffer_puterror β she writes an error string to a buffer and then flushes it. slay.
β¨ NAME β¨
buffer_puterror β write error string to buffer and flush π«Ά
πΈ SYNTAX πΈ
#include <libowfat/buffer.h>
int buffer_puterror(buffer* b);
like, that's the whole vibe. one include, one function, one buffer pointer. iconic.
π¦ DESCRIPTION π¦
so buffer_puterror is literally equivalent to calling buffer_puterror2 with errno. that's it. that's the whole tea. π
ngl, it's giving "little sister function who just forwards your call to the bigger function with errno already filled in for you." no cap.
π RETURN VALUE π
0β everything is fine, we ate, no crumbs. β¨-1β error, and bestie she setserrnowhile she's at it. π
π₯ SEE ALSO π₯
go read those too, iykyk π
and that's the page!! this whole thing lives in the <strong>Library Functions Manual</strong>, and it signs off as buffer_puterror(3) β yeah the footer is literally just her own name again, she's that self-obsessed and honestly? valid. π
π¦ 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