Desktop/xinu_mips-1.0.2.tar/xinu_mips-1.0.2/lib/libxc/memcmp.c File Reference
Go to the source code of this file.
|
Functions |
int | memcmp (const void *s1, const void *s2, int n) |
Detailed Description
memcmp
- Id
- memcmp.c 221 2007-07-11 18:45:46Z mschul
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.