array_cats0(3)

πŸ“¦
version 0.34 Β· 2 versions
  • 0.34 Β· alpine 3.24, debian bookworm, debian trixie, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • 0.30 Β· fedora 43, fedora 44, ubuntu jammy
, in alpine 3.24, debian bookworm, debian trixie, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– 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 🌈


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 πŸ’–βœ¨πŸŒΈ