array_equal(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_equal(3) ✨

okay so bestie, this is the Library Functions Manual page for array_equal, and we are comparing two arrays for equality. No cap. πŸ’–


🌸 NAME 🌸

array_equal β€” compare two arrays for equality πŸ’…

πŸ¦‹ SYNTAX πŸ¦‹

       #include <libowfat/array.h>

       int array_equal(array* x,array* y);

         array x;
         array y;
         array_equal(&x,&y);

πŸ’… DESCRIPTION πŸ’…

array_equal returns nonzero if x and y have the same contents: i.e.,

  • x and y are both unallocated; or
  • x is unallocated, y is allocated, and y has no initialized bytes; or
  • x is allocated, y is unallocated, and x has no initialized bytes; or
  • x and y are both allocated and have the same sequence of initialized bytes.

Otherwise it returns 0. That's the whole vibe check. 😭✨

πŸ‘‘ SEE ALSO πŸ‘‘

array_allocate(3), array_get(3), array_fail(3), array_reset(3)


signing off from the Library Functions Manual as array_equal(3) β€” the footer didn't give us a date or version, so this is your cute little end-of-page kiss, bestie πŸ«ΆπŸ’–βœ¨