Changeset 2955 for trunk/kLdr/kLdrHlpStr.c
- Timestamp:
- Feb 7, 2007, 8:07:16 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kLdr/kLdrHlpStr.c
r2944 r2955 78 78 79 79 return pszRet; 80 } 81 82 83 size_t kLdrHlpStrNLen(const char *psz, size_t cchMax) 84 { 85 const char * const pszStart = psz; 86 while (*psz && cchMax--) 87 psz++; 88 return psz - pszStart; 80 89 } 81 90
Note:
See TracChangeset
for help on using the changeset viewer.