Changeset 10949 in vbox for trunk/include
- Timestamp:
- Jul 29, 2008 6:56:03 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/string.h
r10106 r10949 1148 1148 RTDECL(int) RTStrICmp(const char *psz1, const char *psz2); 1149 1149 1150 /** 1151 * Find the length of a zero-terminated byte string, given 1152 * a max string length. 1153 * 1154 * See also RTStrNLenEx. 1155 * 1156 * @returns The string length or cbMax. The returned length does not include 1157 * the zero terminator if it was found. 1158 * 1159 * @param pszString The string. 1160 * @param cchMax The max string length. 1161 */ 1162 RTDECL(size_t) RTStrNLen(const char *pszString, size_t cchMax); 1163 1164 /** 1165 * Find the length of a zero-terminated byte string, given 1166 * a max string length. 1167 * 1168 * See also RTStrNLen. 1169 * 1170 * @returns IPRT status code. 1171 * @retval VINF_SUCCESS if the string has a length less than cchMax. 1172 * @retval VERR_BUFFER_OVERFLOW if the end of the string wasn't found 1173 * before cchMax was reached. 1174 * 1175 * @param pszString The string. 1176 * @param cchMax The max string length. 1177 * @param pcch Where to store the string length excluding the 1178 * terminator. This is set to cchMax if the terminator 1179 * isn't found. 1180 */ 1181 RTDECL(int) RTStrNLenEx(const char *pszString, size_t cchMax, size_t *pcch); 1182 1150 1183 /** @} */ 1151 1184
Note:
See TracChangeset
for help on using the changeset viewer.