DOKK / manpages / debian 12 / libowfat-dev / byte_equal.3.en
byte_equal(3) Library Functions Manual byte_equal(3)

byte_equal - compare two strings

#include <libowfat/byte.h>

int byte_equal(const char *one,size_t len,const char *two);

byte_equal returns 1 if the strings are equal, 0 otherwise.

When the strings are different, byte_equal does not read bytes past the first difference.

byte_diff(3)