diff options
author | Michael Adam <obnox@samba.org> | 2010-10-29 22:21:47 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2010-11-03 22:45:19 +0000 |
commit | 4579d7ea2920bda8de2339c6ecd190e65454fa43 (patch) | |
tree | b8796d4635a8e0c7c305c4e31ff9bd4996bfc035 | |
parent | f16ddcae6938f7feda331c5fabc02a9539978bcb (diff) | |
download | samba-4579d7ea2920bda8de2339c6ecd190e65454fa43.tar.gz samba-4579d7ea2920bda8de2339c6ecd190e65454fa43.tar.bz2 samba-4579d7ea2920bda8de2339c6ecd190e65454fa43.zip |
s3:lib/util_str: clarify the comment header for strlen_m().
-rw-r--r-- | source3/lib/util_str.c | 10 |
1 files changed, 6 insertions, 4 deletions
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) { |