2001-02-02 17:54:47 +00:00
|
|
|
.TH str_equal 3
|
|
|
|
.SH NAME
|
|
|
|
str_equal \- compare two ASCIIZ strings
|
|
|
|
.SH SYNTAX
|
2017-05-13 22:51:26 +00:00
|
|
|
.B #include <libowfat/str.h>
|
2001-02-02 17:54:47 +00:00
|
|
|
|
2006-11-07 17:56:05 +00:00
|
|
|
size_t \fBstr_equal\fP(const char* \fIa\fR,const char* \fIb\fR);
|
2001-02-02 17:54:47 +00:00
|
|
|
.SH DESCRIPTION
|
|
|
|
\fBstr_equal\fR returns nonzero if \fIa\fR and \fIb\fR match up to and
|
|
|
|
including the first occurrance of \\0.
|
|
|
|
|
|
|
|
If the strings are different, str_equal does not read bytes past the
|
|
|
|
first difference.
|
|
|
|
.SH "SEE ALSO"
|
|
|
|
strlen(3)
|