int stMemCmp( const PVOID s1, const PVOID s2, SIZE n );
Address of the first memory block.
Address of the second memory block.
Number of bytes to compare.
The function returns a negative value if s1 is less than s2, a positive value if s1 is
greater than s2, or zero (0) if both are equal.
This function compares two memory blocks.
If functions for basic memory operations are inactive in the alternative C library (by setting
ST_USE_MEMORY_CLIB to 1), a macro named stMemCmp will be created that calls the memcmp
function from the standard C library.
| Version: | 1.0 |
|---|---|
| Header file: | ST_CLIB.h (include ST_API.h) |
| See also: | PVOID, SIZE, ST_USE_MEMORY_CLIB |