#include <io.h>
#include <stdarg.h>
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#include <types.h>
|
| int | memcmp (const void *s1, const void *s2, unsigned int n) |
| | Compares the first 'cnt' bytes of the memory areas 'dst' and 'src'.
|
| |
◆ memcmp()
| int memcmp |
( |
const void * |
dst, |
|
|
const void * |
src, |
|
|
unsigned int |
cnt |
|
) |
| |
Compares the first 'cnt' bytes of the memory areas 'dst' and 'src'.
- Parameters
-
| dst | The first memory area to compare. |
| src | The second memory area to compare. |
| cnt | The number of bytes to compare. |
- Returns
- An integer less than, equal to, or greater than zero if 'dst' is found, respectively, to be less than, to match, or be greater than 'src'.