|
@@ -195,6 +195,18 @@ int u16_strncmp(const u16 *s1, const u16 *s2, size_t n);
|
|
|
*/
|
|
|
size_t u16_strlen(const void *in);
|
|
|
|
|
|
+/**
|
|
|
+ * u16_strsize() - count size of u16 string in bytes including the null
|
|
|
+ * character
|
|
|
+ *
|
|
|
+ * Counts the number of bytes occupied by a u16 string
|
|
|
+ *
|
|
|
+ * @in: null terminated u16 string
|
|
|
+ * Return: bytes in a u16 string
|
|
|
+ *
|
|
|
+ */
|
|
|
+size_t u16_strsize(const void *in);
|
|
|
+
|
|
|
/**
|
|
|
* u16_strlen - count non-zero words
|
|
|
*
|