byte_equal man page

byte_equal — compare two strings

Syntax

#include <byte.h>

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

Description

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.

See Also

byte_diff(3)

Referenced By

byte_diff(3).