Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Watcom C/C++ v10.0 : C library - <b>synopsis:</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Synopsis:
    #include <string.h>
    int memicmp( const void *s1,
                 const void *s2,
                 size_t length );
    int _fmemicmp( const void __far *s1,
                   const void __far *s2,
                   size_t length );

Description:
    The memicmp and _fmemicmp functions compare, with case insensitivity
    (upper- and lowercase characters are equivalent), the first length
    characters of the object pointed to by s1 to the object pointed to by
    s2.

    The _fmemicmp function is a data model independent form of the memicmp
    function that accepts far pointer arguments.  It is most useful in mixed
    memory model applications.

Returns:
    The memicmp and _fmemicmp functions return an integer less than, equal
    to, or greater than zero, indicating that the object pointed to by s1 is
    less than, equal to, or greater than the object pointed to by s2.

See Also:
    memchr, _fmemchr, memcmp, _fmemcmp, memcpy, _fmemcpy, memset, _fmemset

Example:
    #include <stdio.h>
    #include <string.h>

    void main()
      {
        char buffer[80];

        if( memicmp( buffer, "Hello", 5 ) < 0 ) {
          printf( "Less than\n" );
        }
      }

Classification:
    WATCOM

Systems:
     memicmp - All

    _fmemicmp - All

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