Changeset 25014 in vbox for trunk/include/iprt
- Timestamp:
- Nov 26, 2009 3:26:36 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/string.h
r25011 r25014 1053 1053 1054 1054 /** 1055 * Compares two version strings stricmp fashion.1055 * Compares two version strings RTStrICmp fashion. 1056 1056 * 1057 1057 * The version string is split up into sections at punctuation, spaces, … … 1060 1060 * in a numeric or case insesntivie fashion depending on what they are. 1061 1061 * 1062 * The following strings are considered to be equal: "1.0.0", "1.0", "1". 1063 * There aren't: "1.0.0r993", "1.0", "1.0r993", "1.0_Beta3" 1064 * 1065 * @returns integer value indicating the relationship between the versions: 1066 * @retval 0, if both versions are equal. 1067 * @retval 1, if pszVer1 is greater. 1068 * @retval 2, if pszVer2 is greater. 1062 * The following strings are considered to be equal: "1.0.0", "1.00.0", "1.0", 1063 * "1". These aren't: "1.0.0r993", "1.0", "1.0r993", "1.0_Beta3", "1.1" 1064 * 1065 * @returns < 0 if the first string less than the second string. 1066 * @returns 0 if the first string identical to the second string. 1067 * @returns > 0 if the first string greater than the second string. 1069 1068 * 1070 1069 * @param pszVer1 First version string to compare.
Note:
See TracChangeset
for help on using the changeset viewer.