Changes in uspace/lib/c/include/str.h [9d58539:3e6a98c5] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/str.h
r9d58539 r3e6a98c5 39 39 #include <mem.h> 40 40 #include <sys/types.h> 41 #include < bool.h>41 #include <stdbool.h> 42 42 43 43 #define U_SPECIAL '?' … … 56 56 57 57 extern wchar_t str_decode(const char *str, size_t *offset, size_t sz); 58 extern wchar_t str_decode_reverse(const char *str, size_t *offset, size_t sz); 58 59 extern int chr_encode(const wchar_t ch, char *str, size_t *offset, size_t sz); 59 60 … … 73 74 extern size_t wstr_nlength(const wchar_t *str, size_t size); 74 75 76 extern size_t chr_width(wchar_t ch); 77 extern size_t str_width(const char *str); 78 75 79 extern bool ascii_check(wchar_t ch); 76 80 extern bool chr_check(wchar_t ch); … … 78 82 extern int str_cmp(const char *s1, const char *s2); 79 83 extern int str_lcmp(const char *s1, const char *s2, size_t max_len); 84 85 extern bool str_test_prefix(const char *s, const char *p); 80 86 81 87 extern void str_cpy(char *dest, size_t size, const char *src);
Note:
See TracChangeset
for help on using the changeset viewer.