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


Ignore:
Timestamp:
2011-06-28T07:32:48Z (13 years ago)
Author:
Oleg Romanenko <romanenko.oleg@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
fcc3cd8
Parents:
298a6ce
Message:

Add utf16_to_str function doing conversion between UTF16 string and UTF8
with surrogate pairs support

File:
1 edited

Legend:

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

    r298a6ce r82374b2  
    7878extern char *wstr_to_astr(const wchar_t *src);
    7979extern int str_to_wstr(wchar_t *dest, size_t dlen, const char *src);
     80extern int utf16_to_str(char *dest, size_t size, const uint16_t *src);
    8081
    8182extern char *str_chr(const char *str, wchar_t ch);
Note: See TracChangeset for help on using the changeset viewer.