Compares values from two memory buffers.
Files
lib_mem.h/lib_mem.c
Prototype
Arguments
p1_mem
Pointer to the first memory buffer to compare.
p2_mem
Pointer to the second memory buffer to compare.
size
Number of memory buffer octets to compare.
Returned Value
DEF_YES
,
if size number of octets are identical in both memory buffers;
DEF_NO
,
otherwise.
Required Configuration
None.
Notes / Warnings
Zero-sized compares allowed; DEF_YES
returned for identical NULL
compare.