Copyright Digital Equipment Corp. All rights reserved.
The bcmp function compares the byte string in string1 against the byte string in string2. Unlike the string functions, there is no checking for null bytes. Zero-length strings are always identical. Note that bcmp is equivalent to memcmp, which is defined by the ANSI C Standard. Therefore, using memcmp is recommended for portable programs.