stralloc_append(3)
β¨ NAME β¨
stralloc_append - append a character to a stralloc π (yep, we're in the Library Functions Manual, bestie, keep up)
π¦ SYNTAX π¦
#include <libowfat/stralloc.h>
int stralloc_append(stralloc* sa,const char* in);
πΈ DESCRIPTION πΈ
okay so real talk: stralloc_append appends the byte from *buf to the string stored in sa, allocating space if necessary, and returns 1. that's the whole assignment, no cap β¨
if it runs out of memory, stralloc_append leaves sa alone and returns 0. so like, your sa stays untouched, bestie π
π RETURN VALUE π
1for success π0on memory allocation failure π
π SEE ALSO π
stralloc_copyb(3)π«Ά
and that's the page, babe π«Ά β footer said stralloc_append(3), so we're out here with no source/version/date drama, just pure stralloc_append(3) energy. 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