#include <string.h>
int fmemcmp (
const void far *buf1, /* first buffer */
const void far *buf2, /* second buffer */
unsigned int len); /* bytes to compare */
Description
The fmemcmp function compares the first len bytes from buf1 and buf2 and returns a value indicating their relationship as
follows:
Value
Description
< 0
buf1 less than buf2
= 0
buf1 equal to buf2
> 0
buf1 greater than buf2
Note
This function uses far
pointers to objects and may be used in any memory model other than
Tiny Model.
Return Value
The fmemcmp function returns a positive, negative, or zero
value indicating the relationship of buf1 and
buf2.
This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.
ARM websites use two types of cookie: (1) those that enable the site to function and perform as required; and (2) analytical cookies which anonymously track visitors only while using the site. If you are not happy with this use of these cookies please review our Privacy Policy to learn how they can be disabled. By disabling cookies some features of the site will not work.