search for: str_charnum

Displaying 1 result from an estimated 1 matches for "str_charnum".

2000 Jun 02
0
util_str.c patch
...ing. If we get a match, truncate - * 'back' off the end of the string and - * go through the string again from the - * start. Keep doing this until we have - * gone through the string with no match - * at the string end. - */ - - size_t mb_back_len = str_charnum(back); - size_t mb_s_len = str_charnum(s); - - while(mb_s_len >= mb_back_len) - { - size_t charcount = 0; - char *mbp = s; - /* - * sbcs optimization. - */ - if(!global_is_multibyte_codepage) { - while(charcount < (mb_s_len...