1byte_equal(3) Library Functions Manual byte_equal(3)
23
4
NAME
6byte_equal - compare two strings
7
SYNTAX
9#include <byte.h>
1011
int byte_equal(const char *one,size_t len,const char *two);
12
DESCRIPTION
14byte_equal returns 1 if the strings are equal, 0 otherwise.
1516
When the strings are different, byte_equal does not read bytes past the
17first difference.
1819
SEE ALSO
21byte_diff(3)
2223
24
25
byte_equal(3)