Sack Library Documentation
ContentsIndexReferenceHome
PreviousUpNext
sack::memory::MemCmp Function
C++
MEM_PROC int MEM_API MemCmp(CPOINTER pOne, CPOINTER pTwo, size_t sz);
Parameters 
Description 
CPOINTER pOne 
pointer to memory one 
CPOINTER pTwo 
pointer to some other memory 
size_t 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.

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

Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at support@toolsfactory.com.
Copyright (c) 2000+. All rights reserved.
What do you think about this topic? Send feedback!