+/**
+ This is a safe version of standard function @e strlen(): it returns the length
+ of the string s in bytes if this length is smaller than @a maxlen bytes.
+ Otherwise it returns @a maxlen.
+
+ The @a maxlen parameter makes it easier to avoid array indexing errors
+ since you are sure that wxStrnlen() won't read any memory exceeding the
+ @c "*(p+maxlen)" location.
+
+ @since 2.9.0
+
+ @header{wx/wxcrt.h}
+*/
+size_t wxStrnlen(const char* p, size_t maxlen);
+