- occurs, -1 is returned.
- This is the multibyte analogon of the wcswidth function. */
+ occurs, -1 is returned, unless MBSW_ACCEPT_UNPRINTABLE is specified.
+ With flags = 0, this is the multibyte analogon of the wcswidth function. */
+int
+mbswidth (const char *string, int flags)
+{
+ return mbsnwidth (string, strlen (string), flags);
+}
+
+/* Returns the number of columns needed to represent the multibyte
+ character string pointed to by STRING of length NBYTES. If a
+ non-printable character occurs, -1 is returned, unless
+ MBSW_ACCEPT_UNPRINTABLE is specified. */