memcmp


Object comparison

[Classification]

Standard library

[Syntax]

#include <string.h>

int __far memcmp(const void __near *s1, const void __near *s2, size_t n);

int __far _COM_memcmp_ff(const void __far *s1, const void __far *s2, size_t n);

[Return value]

An value greater than, equal to, or less than 0 is returned, depending on whether the object indicated by s1 is greater than, equal to, or less than the object indicated by s2.

[Description]

This function compares the first n characters of an object indicated by s1 with the object indicated by s2.