Xinu7/man/man3/blkequ.doc




BLKEQU(3)           Xinu Programmer's Manual            BLKEQU(3)



NAME
     blkequ -  compare two contiguous blocks of memory for equal-
     ity

SYNOPSIS
     Bool blkequ(first, second, nbytes)
     char *first;
     char *second;
     int nbytes;

DESCRIPTION
     _B_l_k_e_q_u compares two blocks of memory for equality.  Each
     block contains exactly _n_b_y_t_e_s bytes.  _B_l_k_e_q_u returns FALSE
     if the two blocks differ, and TRUE if the blocks are equal.
     _B_l_k_e_q_u compares all byte values including null (zero).

SEE ALSO
     blkcopy(3), string(3)

BUGS
     _B_l_k_e_q_u does not check for valid memory addresses.


































Version 6b               Printed 1/12/87                        1