Risk-Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

byte_equal - compare two strings

Description

byte_equal returns 1 if the strings are equal, 0 otherwise.

       When the strings are different, byte_equal does not read bytes past the first difference.

Name

       byte_equal - compare two strings

See Also

byte_diff(3)

                                                                                                   byte_equal(3)

Syntax

#include<libowfat/byte.h>

       int byte_equal(const char *one,size_t len,const char *two);

See Also