Ubuntu Manpages

str_equal

compare two ASCIIZ strings

#include <str.h>

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

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.

strlen(3)