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


Ignore:
Timestamp:
2011-08-24T21:51:57Z (13 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
26ad20b
Parents:
980311e
Message:

Make wstr_to_str() and str_to_wstr() void functions again.

File:
1 edited

Legend:

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

    r980311e r81e9cb3  
    8080extern void str_append(char *dest, size_t size, const char *src);
    8181
    82 extern int wstr_to_str(char *dest, size_t size, const wchar_t *src);
    8382extern int spascii_to_str(char *dest, size_t size, const uint8_t *src, size_t n);
     83extern void wstr_to_str(char *dest, size_t size, const wchar_t *src);
    8484extern char *wstr_to_astr(const wchar_t *src);
     85extern void str_to_wstr(wchar_t *dest, size_t dlen, const char *src);
    8586extern wchar_t *str_to_awstr(const char *src);
    86 extern int str_to_wstr(wchar_t *dest, size_t dlen, const char *src);
    8787extern int utf16_to_str(char *dest, size_t size, const uint16_t *src);
    8888extern int str_to_utf16(uint16_t *dest, size_t size, const char *src);
Note: See TracChangeset for help on using the changeset viewer.