mint bycmpr(byte1, byte2, length) char *byte1; char *byte2; mint length;
The bycmpr( ) function performs a byte-by-byte comparison of the two groups of contiguous bytes until it finds a difference or until it compares length number of bytes. The bycmpr( ) function returns an integer whose value (0, -1, or +1) indicates the result of the comparison between the two groups of bytes.
The bycmpr( ) function subtracts the bytes of the byte2 group from those of the byte1 group to accomplish the comparison.