libc.info: bcmp

Go forward to bcopy
Go up to Strings
Go to the top op libc

`bcmp'--compare two memory areas

   *Synopsis*
     #include <string.h>
     int bcmp(const void *S1, const void *S2, size_t N);
   *Description*
This function compares not more than N bytes of the object pointed to
by S1 with the object pointed to by S2.
   This function is identical to `memcmp'.
*Returns*
The function returns an integer greater than, equal to or less than
zero 	according to whether the object pointed to by S1 is greater than,
equal to or less than the object pointed to by S2.
*Portability*
`bcmp' requires no supporting OS subroutines.