- Function
Compare two memory areas.
- Header
- Declaration
int __fastcall__ memcmp (const void* p1, const void* p2, size_t count);- Description
memcmpcomparescountbytes from the memory area pointed to byp1into the memory area pointed to byp2. It returns a value that is less than zero ifp1is less thanp2, zero ifp1is the same asp2, and a value greater than zero ifp1is greater thanp2.- Limits
- The function is only available as fastcall function, so it may only be used in presence of a prototype.
- Availability
ISO 9899
- See also
- Example
None.