2 This function is in the public domain. */
8 bcmp -- compare two memory regions
12 int bcmp (char *from, char *to, int count)
16 Compare two memory regions and return zero if they are identical,
17 non-zero otherwise. If count is zero, return zero.
21 No guarantee is made about the non-zero returned value. In
22 particular, the results may be signficantly different than
23 strcmp(), where the return value is guaranteed to be less than,
24 equal to, or greater than zero, according to lexicographical
25 sorting of the compared regions.
33 bcmp (from
, to
, count
)