array_cat0(3)
π 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:
array_allocate(3)array_get(3)array_fail(3)array_reset(3)array_cat(3)array_catb(3)array_cats(3)array_cats0(3)array_cate(3)
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 π¦
π¦ 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