Changeset 2898 for trunk/kLdr/kLdrHlp.c
- Timestamp:
- Dec 24, 2006, 4:10:53 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kLdr/kLdrHlp.c
r2893 r2898 852 852 } 853 853 854 855 #ifdef kLdrHlpStrNComp_needed 856 int kLdrHlpStrNComp(const char *psz1, const char *psz2, size_t cch) 857 { 858 while (cch-- > 0) 859 { 860 if (*psz1 != *psz2) 861 return (int)*psz1 - (int)*psz2; 862 if (!*psz1) 863 break; 864 psz1++; 865 psz2++; 866 } 867 return 0; 868 } 869 #endif 870
Note:
See TracChangeset
for help on using the changeset viewer.