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>_fstrncmp() compare n characters (model independent)</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 _fstrncmp()             Compare n Characters (Model Independent)

 #include   <string.h>

 int _fstrncmp(string1, string2, count);
 char _far *string1;
 char _far *string2;
 size_t count;

    This is the model independent version of strncmp(); it compares
    the first count characters of string1 to string2, returning
    a value as shown below. See strncmp() for more information.

    Returns:    * A negative value if string1 < string2.
                * 0 if string1 = string2.
                * A positive value if string1 > string2.

 Portability:   Not supported by the ANSI standard.


See Also: strcmp() strncmp()

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