Lines Matching refs:str
25 extern size_t tuklib_mbstr_width(const char *str, size_t *bytes);
31 /// \param str String whose width is to be calculated. If the
36 /// value returned by strlen(str) (even if an
42 /// partial, or non-printable multibyte character in str, or
43 /// that str doesn't end in the initial shift state.
46 extern int tuklib_mbstr_fw(const char *str, int columns_min);
56 /// - str is NULL or not terminated with '\0';
60 /// \return If tuklib_mbstr_width(str, NULL) fails, -1 is returned.
61 /// If str needs more columns than columns_min, zero is returned.
63 /// used as the field width, e.g. printf("%*s", fw, str).