fmt_strm(3)
β¨ NAME β¨
hey bestie, welcome to the fmt_strm(3) page from the Library Functions Manual π«Ά this one is lowkey iconic: she writes multiple ASCII strings, no cap.
fmt_strmβ write multiple ASCII strings π
π¦ SYNTAX π¦
#include <libowfat/fmt.h>
size_t fmt_strm(char *dest,const char *source, ...);
πΈ DESCRIPTION πΈ
okay so picture this: fmt_strm copies all leading nonzero bytes from source and the following function arguments into dest π
then she returns the number of bytes she copied. periodt.
she does not append \0, bestie. not even a little. π
now for the main-character plot twist: if dest equals FMT_LEN (i.e. is zero), then fmt_str returns the number of bytes it would have written β that's the number of leading nonzero bytes of source and the following function arguments. β¨
ngl the original text says fmt_str right there, not fmt_strm β so we're keeping it exactly as written, fr fr. no edits, no erasure, just facts. π―
π SEE ALSO π
go read these when you're done, iykyk π
and that's the vibe check: this page comes from the Library Functions Manual, and the footer just signs off as fmt_strm(3) β no version or date on this one, so that's the cute sign-off, bestie πβ¨
π¦ where this page comes from
- alpine 3.24: libowfat-doc 0.34-r0 Β· 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 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