PATH 
ADC Home > Documentation > Hardware > Device Managers and Drivers > PCI Card Services > Designing PCI Cards and Drivers for Power Macintosh Computers


  

StrCmp

short PStrCmp (ConstStr255Param str1, ConstStr255Param str2);

short CStrCmp (const char *str1, const char *str2);
DESCRIPTION

PStrCmp and CStrCmp compare the Pascal and C strings str1 and str2 by comparing the values of corresponding characters in each string. These functions treat variations of case, diacritical marks, or other localization factors as different characters.

RETURN CODES
str1 less than str2 -1
str1 equals str2 0
str1 greater than str2 1

© 1999 Apple Computer, Inc. – (Last Updated 26 March 99)