Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset be2a38ad in mainline for uspace/lib/c/include/str.h


Ignore:
Timestamp:
2012-08-16T10:37:59Z (9 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master
Children:
56fd7cf, 7a7b8efa
Parents:
69cf3a4
Message:

Add functions chr_width() and str_width() to determine character and string display width on a character cell display.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/str.h

    r69cf3a4 rbe2a38ad  
    7373extern size_t wstr_nlength(const wchar_t *str, size_t size);
    7474
     75extern size_t chr_width(wchar_t ch);
     76extern size_t str_width(const char *str);
     77
    7578extern bool ascii_check(wchar_t ch);
    7679extern bool chr_check(wchar_t ch);
Note: See TracChangeset for help on using the changeset viewer.