buffer_putulonglong(3)
π buffer_putulonglong β bestie edition β¨
okay so this one lives in the Library Functions Manual section, and honestly? it's a lil cutie. let's get into it π«Ά
πΈ NAME πΈ
buffer_putulonglong β writes a decimal ASCII representation of a signed long integer to a buffer π
β¨ SYNTAX β¨
#include <libowfat/buffer.h>
int buffer_putulonglong(buffer* b,unsigned long long x);
yes bestie, that's the whole thing. two args, one int coming back at you π
π¦ DESCRIPTION π¦
so like, buffer_putulonglong is equivalent to passing the result of fmt_ulonglong to buffer_put. that's it. that's the whole vibe. no cap π
think of it as: you hand it a buffer b and a value x, and it does the decimal ASCII glow-up on x and drops it right into the buffer. main character energy, minimal effort β¨
π RETURN VALUE π
0β everything is fine, we ate, no crumbs π-1β error π and yeah, it setserrnowhen that happens
π SEE ALSO π
ngl if you're confused, go read fmt_ulonglong(3) first, it's giving prequel π
okay that's the whole page, mwah π
this was buffer_putulonglong(3) from the Library Functions Manual, and yeah the footer is literally just buffer_putulonglong(3) again β iconic of it to sign its own name like that π bye bestie, go write some buffers πβ¨π
π¦ 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