Scroll to navigation

str_equal(3) Library Functions Manual str_equal(3)

NAME

str_equal - compare two ASCIIZ strings

SYNTAX

#include <libowfat/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.

SEE ALSO

strlen(3)