byte_equal.3diet

Langue: en

Version: 280515 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

byte_equal - compare two strings

SYNTAX

#include <byte.h>

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

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.

SEE ALSO

byte_diff(3)