Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

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.

Example Usage

  • No labels