Gentee Programming Language > Documentation > Libraries Download documentation

mcmp

The function compares two memory spaces.
 
int mcmp(
      uint   left,
      uint   right,
      uint   size
)

Parameters

leftThe pointer to the first memory space.
rightThe pointer to the second memory space.
sizeThe size being compared.

Return value

0The spaces are equal.
<0The first space is smaller.
>0The second space is smaller.

See also

    Working with memory


 Copyright © 2004-2006 Gentee Inc. All rights reserved.