qc.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
memcmp, memicmp
 Summary Example                         Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     The memcmp and memicmp functions compare the first <count> bytes
     of <buf1> and <buf2> and return a value indicating their
     relationship, as follows:
 
     Value     Meaning
 
     < 0       <buf1> less than <buf2>
     = 0       <buf1> identical to <buf2>
     > 0       <buf1> greater than <buf2>
 
     The _fmemcmp and _fmemicmp functions are model-independent (large
     model) forms of the memcmp and memicmp functions. The _f... form
     can be called from any point in the program.
 
     The memicmp and _fmemicmp functions are the case-insensitive
     versions of memcmp and _fmemcmp.
 
     There is a semantic difference between the function version of
     memcmp and its intrinsic version. The function version supports
     huge pointers in compact- and large-model programs, but the
     intrinsic version does not.
 
     Return Value
 
     These functions return an integer value, as described above.
                                    -♦-