Main Page   Modules   Data Structures   File List   Data Fields   Globals   Related Pages  

gm_memcmp.c File Reference

#include "gm_internal.h"

Functions

GM_ENTRY_POINT int gm_memcmp (const void *_a, const void *_b, gm_size_t len)

Detailed Description

This file contains the GM API function gm_memcmp().


Function Documentation

GM_ENTRY_POINT int gm_memcmp const void *    _a,
const void *    _b,
gm_size_t    len
 

gm_memcmp() emulates the ANSI memcmp() function.

Return values:
int  Returns an integer less than, equal to, or greater than zero if the first len bytes of a is found, respectively, to be less than, to match, or be greater than the first len bytes of b.
Parameters:
a  (IN) The first memory area for comparison.
b  (IN) The second memory area for comparison.
len  (IN) The number of bytes to compare.
Author:
Glenn Brown
Version:
GM_API_VERSION (as defined in gm.h)


Generated on Mon Nov 3 15:39:26 2003 for GM by doxygen1.2.15