array_cat0(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

πŸ’– array_cat0(3) πŸ’–

okay bestie, welcome to the Library Functions Manual section for array_cat0(3) β€” yes she's from libowfat, yes she's tiny, yes she's iconic, let's GO πŸ¦‹


✨ NAME ✨

array_cat0 β€” appends a 0 byte to an array. that's it. that's the whole job. and she does it flawlessly πŸ’…


🌸 SYNTAX 🌸

first things first, you gotta let her in:

#include <libowfat/array.h>

and here's her signature, no cap:

void array_cat0(array* x);

and here's how you'd actually call her, like in real life:

array x;
array_cat0(&x);

see? easy. we love a low-effort queen πŸ‘‘


πŸŽ€ DESCRIPTION πŸŽ€

so array_cat0 appends a 0 byte to the array x. literally just one zero byte, tucked onto the end, slaying 🫢

and if something goes wrong? she doesn't do her own dramatic failure arc. array_cat0 handles failure in the exact same way as array_cat. same energy, same rules, fr fr. so if you know how array_cat fails, you already know how she does. iykyk 😌


πŸ‘‘ SEE ALSO πŸ‘‘

the whole friend group, go say hi:


and that's the page, bestie!! πŸŽ€βœ¨ this was array_cat0(3) from the Library Functions Manual, and if you're reading the footer, that's just her name again β€” array_cat0(3) β€” waving at you from the bottom of the page like the main character she is πŸ’– bye ily, go append a zero byte πŸ¦‹