str_equal(3)

πŸ“¦
version 0.34 Β· 3 versions
, in alpine 3.24, debian bookworm, debian trixie, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0, ubuntu noble, ubuntu questing

πŸ¦‹ str_equal(3) πŸ¦‹

okay bestie, welcome to the str_equal(3) page from the Library Functions Manual β€” manual name folded in near the top, cute, we move πŸ’…


✨ NAME ✨

  • str_equal β€” compare two ASCIIZ strings, no cap 🫢

πŸŽ€ SYNTAX πŸŽ€

#include <libowfat/str.h>

size_t str_equal(const char* a,const char* b);

πŸ’œ DESCRIPTION πŸ’œ

okay so here's the tea: str_equal returns nonzero if a and b match up to and including the first occurrence of \0. literally that's the whole vibe ✨

and if the strings are different? it does not read bytes past the first difference. respectful of boundaries, periodt πŸ’…


🌈 SEE ALSO 🌈

  • strlen(3) β€” go say hi, bestie πŸ¦‹

that's the whole page, bestie β€” footer vibes are just str_equal(3), and there's no source/version/date listed in the original, so consider this your cute little sign-off. mwah πŸ’–πŸŽ€