SYNTAX

#include <str.h>

size_t str_equal(const char* a,const char* b);

DESCRIPTION

str_equal returns nonzero if a and b 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.

RELATED TO str_equal…