Important: The information in this document is obsolete and should not be used for new development.
OTMemcmp
Compares the contents of two memory locations.C INTERFACE
Boolean OTMemcmp (constant void* mem1, const void* mem2, size_t nBytes)C++ INTERFACE
None. C++ applications use the C interface to this function.PARAMETERS
mem1
- A pointer to a memory location whose contents you are comparing with those at the location indicated by the
mem2
parameter.mem2
- A pointer to the memory location whose contents you are comparing with those at the location indicated by the
mem1
parameter.nBytes
- The number of bytes of memory you want to compare.
- function result
- The function returns a value of
true
if the indicated amount of memory at the two locations is the same.