mirror of /home/gitosis/repositories/libowfat.git
Mirror of :pserver:cvs@cvs.fefe.de:/cvs libowfat
https://www.fefe.de/libowfat/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
577 B
18 lines
577 B
.TH byte_diff 3 |
|
.SH NAME |
|
byte_diff \- compare two strings |
|
.SH SYNTAX |
|
.B #include <byte.h> |
|
|
|
int \fBbyte_diff\fP(const char *\fIone\fR,size_t \fIlen\fR,const char *\fItwo\fR); |
|
.SH DESCRIPTION |
|
\fIbyte_diff\fR returns negative, 0, or positive, depending on whether |
|
the string \fIone\fR[0], \fIone\fR[1], ..., \fIone\fR[\fIlen\fR-1] is |
|
lexicographically smaller than, equal to, or greater than the string |
|
\fIone\fR[0], \fIone\fR[1], ..., \fIone\fR[\fIlen\fR-1]. |
|
|
|
When the strings are different, byte_diff does not read bytes past the |
|
first difference. |
|
|
|
.SH "SEE ALSO" |
|
byte_equal(3)
|
|
|