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>_fmemicmp() compare two buffers (model, case indepedent)</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 _fmemicmp()             Compare Two Buffers (Model, Case Indepedent)

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

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

    This is the model independent version of memicmp(); it compares
    count characters from buf1 to the corresponding characters
    in buf2 without regard to case. The return value is as shown below.
    See memicmp() 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() memicmp() memset()

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