stralloc_catm(3)
okay so bestie π welcome to the manual page for stralloc_catm(3) from the Library Functions Manual. she appends strings to a stralloc and she's lowkey iconic. periodt β¨
πΈ NAME πΈ
stralloc_catm β append string(s) to a stralloc
π SYNTAX π
#include <libowfat/stralloc.h>
int stralloc_catm(stralloc* sa,const char* s, ...);
β¨ DESCRIPTION β¨
so here's the vibe: stralloc_catm appends the \0-terminated strings from s... to the end of the string stored in sa, allocating space if necessary, and returns 1. π«Ά if sa is unallocated, stralloc_catm is literally the same as stralloc_copym.
if it runs out of memory, stralloc_catm returns 0. π and at that point, it may already have copied a few of the strings to sa. so yeah, she might have done some of the work before things went sideways. no cap.
π RETURN VALUE π
1β success, she ate π0β memory allocation failure π
π SEE ALSO π
and that's the whole page, bestie. signing off from the Library Functions Manual with the footer tea: stralloc_catm(3) π bye π
π¦ 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