File: str_equal.3

package info (click to toggle)
libowfat 0.28-6
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 4,068 kB
  • sloc: ansic: 12,863; makefile: 16
file content (15 lines) | stat: -rw-r--r-- 401 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
.TH str_equal 3
.SH NAME
str_equal \- compare two ASCIIZ strings
.SH SYNTAX
.B #include <str.h>

size_t \fBstr_equal\fP(const char* \fIa\fR,const char* \fIb\fR);
.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)