fmt_ulonglong(3)
β¨ NAME β¨
okay so bestie, this is fmt_ulonglong(3) straight outta the Library Functions Manual, and it's the function that writes an ASCII representation of an unsigned long long integer. that's the whole plot: unsigned long long goes in, base-10 text comes out. π
π¦ SYNTAX π¦
#include <libowfat/fmt.h>
size_t fmt_ulonglong(char *dest,unsigned long long source);
π DESCRIPTION π
fmt_ulonglong writes an ASCII representation ('0' to '9', base 10) of source to dest and returns the number of bytes written. yes, it literally hands you the byte count, main character behavior. β¨
fmt_ulonglong does not append \0. not a single null byte. it's giving "you handle the terminator, bestie." π
If dest equals FMT_LEN (i.e. is zero), fmt_ulonglong returns the number of bytes it would have written. so you can ask "how long would this be?" without committing. lowkey iconic. π«Ά
For convenience, fmt.h defines the integer FMT_ULONG to be big enough to contain every possible fmt_ulonglong output plus \0. that's the buffer size baddie right there. π
π SEE ALSO π
and that's the page, bestie. source/version vibe: Library Functions Manual. footer name: fmt_ulonglong(3). date? not on this page, so no date to spill. kisses, mwah. ππ
π¦ 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