memcmp.c File Reference

Implements the functions: memcmp. More...

Go to the source code of this file.

Functions

int memcmp (const void *s1, const void *s2, int n)
 Compare memory (ISO C89).


Detailed Description

Implements the functions: memcmp.

Id
memcmp.c 261 2007-07-26 13:17:11Z agember

Definition in file memcmp.c.


Function Documentation

int memcmp ( const void *  s1,
const void *  s2,
int  n 
)

Compare memory (ISO C89).

Assumes memory locations are same length

Parameters:
s1 first memory location
s2 second memory location
n length to compare
Returns:
s1>s2: >0 s1==s2: 0 s1<s2: <0

Definition at line 17 of file memcmp.c.


Generated on Wed Aug 27 06:08:50 2008 for Embedded XINU by  doxygen 1.5.5