aboutsummaryrefslogtreecommitdiffstats
path: root/src/support.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/support.h')
-rw-r--r--src/support.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/support.h b/src/support.h
index b80b9c8a2..3377f9a80 100644
--- a/src/support.h
+++ b/src/support.h
@@ -28,8 +28,11 @@ void charset_init(gboolean disable);
char *utf8_to_locale(const char *str);
char *locale_to_utf8(const char *str);
-/* number of characters in str */
+/**
+ * Returns the number of terminal cells occupied by this string.
+ */
size_t my_strlen(const char *str);
+
/* number of bytes in str */
size_t my_strsize(char *str);