Changes in kernel/generic/include/str.h [b7fd2a0:83dab11] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/str.h
rb7fd2a0 r83dab11 39 39 #include <stddef.h> 40 40 #include <stdint.h> 41 #include <errno.h>42 41 43 42 /**< Common Unicode characters */ … … 68 67 69 68 extern wchar_t str_decode(const char *str, size_t *offset, size_t sz); 70 extern errno_t chr_encode(wchar_t ch, char *str, size_t *offset, size_t sz);69 extern int chr_encode(wchar_t ch, char *str, size_t *offset, size_t sz); 71 70 72 71 extern size_t str_size(const char *str); … … 100 99 extern bool wstr_remove(wchar_t *str, size_t pos); 101 100 102 extern errno_t str_uint64_t(const char *, char **, unsigned int, bool, uint64_t *);101 extern int str_uint64_t(const char *, char **, unsigned int, bool, uint64_t *); 103 102 104 103 extern void order_suffix(const uint64_t, uint64_t *, char *); 105 104 extern void bin_order_suffix(const uint64_t, uint64_t *, const char **, bool); 106 107 extern const char *str_error(errno_t err);108 extern const char *str_error_name(errno_t err);109 105 110 106 #endif
Note:
See TracChangeset
for help on using the changeset viewer.