2001-02-02 17:54:47 +00:00
|
|
|
.TH byte_equal 3
|
|
|
|
.SH NAME
|
|
|
|
byte_equal \- compare two strings
|
|
|
|
.SH SYNTAX
|
2017-05-13 22:51:26 +00:00
|
|
|
.B #include <libowfat/byte.h>
|
2001-02-02 17:54:47 +00:00
|
|
|
|
2006-11-07 17:56:05 +00:00
|
|
|
int \fBbyte_equal\fP(const char *\fIone\fR,size_t \fIlen\fR,const char *\fItwo\fR);
|
2001-02-02 17:54:47 +00:00
|
|
|
.SH DESCRIPTION
|
|
|
|
\fIbyte_equal\fR returns 1 if the strings are equal, 0 otherwise.
|
|
|
|
|
|
|
|
When the strings are different, byte_equal does not read bytes past the
|
|
|
|
first difference.
|
|
|
|
|
|
|
|
.SH "SEE ALSO"
|
|
|
|
byte_diff(3)
|