array_cats0(3)
π NAME π
array_cats0 β append a C string to an array. That's the whole job bestie, and she does it flawlessly. π
π¦ SYNTAX π¦
okay so first you gotta pull in the header, like:
#include <libowfat/array.h>
void array_cats0(array* x,const char* y);
and here's the lil example, look at her go:
array x;
array_cats0(&x,"fnord");
β¨ DESCRIPTION β¨
so array_cats0 takes the contents of the 0-terminated string y β and yes babes, that means it grabs the terminating 0 byte too, she's not leaving anyone behind π
β and appends all of it onto the array x.
and if things go wrong? she handles failure in the same way as array_cat. same energy, same drama, no surprises. periodt. π«Ά
ngl bestie, if you needed the 0 byte included, this is your girl. if you didn't, maybe go look at her cousins. iykyk.
π SEE ALSO π
array_allocate(3)array_get(3)array_fail(3)array_reset(3)array_cat(3)array_catb(3)array_cats(3)array_cate(3)
and that's the whole thing, no cap. it's giving Library Functions Manual realness, and this icon is literally array_cats0(3). slay, 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