From 4579d7ea2920bda8de2339c6ecd190e65454fa43 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Fri, 29 Oct 2010 22:21:47 +0200 Subject: s3:lib/util_str: clarify the comment header for strlen_m(). --- source3/lib/util_str.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'source3') diff --git a/source3/lib/util_str.c b/source3/lib/util_str.c index 449b5d1a60..4e16fb3a45 100644 --- a/source3/lib/util_str.c +++ b/source3/lib/util_str.c @@ -1454,10 +1454,12 @@ void strupper_m(char *s) } /** - Count the number of UCS2 characters in a string. Normally this will - be the same as the number of bytes in a string for single byte strings, - but will be different for multibyte. -**/ + * Calculate the number of 16-bit units that would be needed to convert + * the input string which is expected to be in CH_UNIX encoding to UTF16. + * + * This will be the same as the number of bytes in a string for single + * byte strings, but will be different for multibyte. + */ size_t strlen_m(const char *s) { -- cgit