Changes in kernel/generic/src/lib/str.c [b7fd2a0:002fd5f] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/lib/str.c
rb7fd2a0 r002fd5f 217 217 * code was invalid. 218 218 */ 219 errno_t chr_encode(const wchar_t ch, char *str, size_t *offset, size_t size)219 int chr_encode(const wchar_t ch, char *str, size_t *offset, size_t size) 220 220 { 221 221 if (*offset >= size) … … 794 794 * 795 795 */ 796 static errno_t str_uint(const char *nptr, char **endptr, unsigned int base,796 static int str_uint(const char *nptr, char **endptr, unsigned int base, 797 797 bool *neg, uint64_t *result) 798 798 { … … 915 915 * 916 916 */ 917 errno_t str_uint64_t(const char *nptr, char **endptr, unsigned int base,917 int str_uint64_t(const char *nptr, char **endptr, unsigned int base, 918 918 bool strict, uint64_t *result) 919 919 { … … 922 922 bool neg; 923 923 char *lendptr; 924 errno_t ret = str_uint(nptr, &lendptr, base, &neg, result);924 int ret = str_uint(nptr, &lendptr, base, &neg, result); 925 925 926 926 if (endptr != NULL)
Note:
See TracChangeset
for help on using the changeset viewer.