Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Microsoft C 6.0 - <b>_fmemcmp() compare two buffers (model indepedent)</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 _fmemcmp()              Compare Two Buffers (Model Indepedent)

 #include   <string.h>
 #include   <memory.h>

 int _fmemcmp(buf1, buf2, count);
 void _far *buf1;                       First buffer
 void _far *buf2;                       Second buffer
 size_t count;                          Number of bytes to compare

    This is the model independent version of memcmp(); it compares the
    first count bytes in the two buffers buf1 and buf2. The return
    values are as shown below. See memcmp() for more information.

    Returns:        * A negative value if buf1 is less than buf2.
                    * 0 if buf1 is equal to buf2.
                    * A positive value if buf1 is greater than buf2.

 Portability:   Not supported by the ANSI standard.


See Also: memccpy() memchr() memcmp() memcpy() memset()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson