stralloc_catb(3)
β¨ NAME β¨
omg hey bestie π welcome to the stralloc_catb(3) page from the Library Functions Manual β yes, we're doing this, and it's giving useful.
stralloc_catb β append data to a stralloc. that's the whole vibe. no cap. π
π οΈ SYNTAX π οΈ
#include <libowfat/stralloc.h>
int stralloc_catb(stralloc* sa,const char* buf,size_t len);
π DESCRIPTION π
okay so stralloc_catb adds the string buf[0], buf[1], ... buf[len-1] to the end of the string stored in sa, allocating space if necessary, and returns 1. slay. β¨
if sa is unallocated, stralloc_catb is the same as stralloc_copyb. literally twins. π―
if it runs out of memory, stralloc_catb leaves sa alone and returns 0. not the moment, bestie π
π RETURN VALUE π
1β success, we ate π0β on memory allocation failure, it's giving sad girl hours π
okay bye bestie π«Ά this was stralloc_catb(3) β the footer just says stralloc_catb(3), no source/version/date energy attached, so that's the whole entire page, periodt ππ
π¦ 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