Documentation Project 1
ContentsIndexHome
PreviousUpNext
sack::memory::MemCmp Function
C++
MEM_PROC int MEM_API MemCmp(CPOINTER pOne, CPOINTER pTwo, PTRSZVAL sz);
Parameters 
Description 
CPOINTER pOne 
pointer to memory one 
CPOINTER pTwo 
pointer to some other memory 
PTRSZVAL sz 
count of bytes to compare 

0 if equal 

-1 if the first different byte in pOne is less than pTwo. 

1 if the first different byte in pOne is more than pTwo.

Binary byte comparison of one block of memory to another. Results -1 if less, 1 if more and 0 if equal.

Copyright (c) 2010. All rights reserved.
What do you think about this topic? Send feedback!