Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/str.h

    r83dab11 rb7fd2a0  
    3939#include <stddef.h>
    4040#include <stdint.h>
     41#include <errno.h>
    4142
    4243/**< Common Unicode characters */
     
    6768
    6869extern wchar_t str_decode(const char *str, size_t *offset, size_t sz);
    69 extern int chr_encode(wchar_t ch, char *str, size_t *offset, size_t sz);
     70extern errno_t chr_encode(wchar_t ch, char *str, size_t *offset, size_t sz);
    7071
    7172extern size_t str_size(const char *str);
     
    99100extern bool wstr_remove(wchar_t *str, size_t pos);
    100101
    101 extern int str_uint64_t(const char *, char **, unsigned int, bool, uint64_t *);
     102extern errno_t str_uint64_t(const char *, char **, unsigned int, bool, uint64_t *);
    102103
    103104extern void order_suffix(const uint64_t, uint64_t *, char *);
    104105extern void bin_order_suffix(const uint64_t, uint64_t *, const char **, bool);
     106
     107extern const char *str_error(errno_t err);
     108extern const char *str_error_name(errno_t err);
    105109
    106110#endif
Note: See TracChangeset for help on using the changeset viewer.