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


Ignore:
Timestamp:
2017-07-11T18:44:04Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f3504c1
Parents:
9bf4488
Message:

One function to compute the number of code units in a UTF-16 null-terminated string.

File:
1 edited

Legend:

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

    r9bf4488 rb2906c0  
    9999extern int utf16_to_str(char *dest, size_t size, const uint16_t *src);
    100100extern int str_to_utf16(uint16_t *dest, size_t dlen, const char *src);
     101extern size_t utf16_wsize(const uint16_t *ustr);
    101102
    102103extern char *str_chr(const char *str, wchar_t ch);
Note: See TracChangeset for help on using the changeset viewer.