bcmp - memory operations
#include <strings.h> int bcmp(const void *s1, const void *s2, size_t n);
The bcmp() function compares the first n bytes of the area pointed to by s1 with the area pointed to by s2.
The bcmp() function returns 0 if s1 and s2 are identical, non-zero otherwise. Both areas are assumed to be n bytes long. If the value of n is 0, bcmp() returns 0.
No errors are defined.
None.
For portability to implementations conforming to earlier versions of this specification, memcmp() is preferred over this function.
None.
memcmp(), <strings.h>.