Changeset 50793 in vbox for trunk/include/iprt
- Timestamp:
- Mar 14, 2014 9:13:23 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/string.h
r50792 r50793 677 677 * VERR_BUFFER_OVERFLOW will be returned if the check fails. */ 678 678 #define RTSTR_VALIDATE_ENCODING_ZERO_TERMINATED RT_BIT_32(0) 679 /** Check that the string is exactly the given length. 680 * If it terminates early, VERR_BUFFER_UNDERFLOW will be returned. When used 681 * together with RTSTR_VALIDATE_ENCODING_ZERO_TERMINATED, the given length must 682 * include the terminator or VERR_BUFFER_OVERFLOW will be returned. */ 683 #define RTSTR_VALIDATE_ENCODING_EXACT_LENGTH RT_BIT_32(1) 679 684 /** @} */ 680 685 … … 684 689 * @returns iprt status code. 685 690 * @param psz The string. 686 * @param cch The max string length. Use RTSTR_MAX to process the entire string. 691 * @param cch The max string length (/ size). Use RTSTR_MAX to 692 * process the entire string. 687 693 * @param fFlags Combination of RTSTR_VALIDATE_ENCODING_XXX flags. 688 694 */ … … 3358 3364 * @returns iprt status code. 3359 3365 * @param pwsz The string. 3360 * @param cch The max string length. Use RTSTR_MAX to process the entire string. 3366 * @param cwc The max string length (/ size) in UTF-16 units. Use 3367 * RTSTR_MAX to process the entire string. 3361 3368 * @param fFlags Combination of RTSTR_VALIDATE_ENCODING_XXX flags. 3362 3369 */
Note:
See TracChangeset
for help on using the changeset viewer.