Changeset 29e7cc7 in mainline for common/include/uchar.h
- Timestamp:
- 2025-04-18T15:14:10Z (8 months ago)
- Children:
- e77c3ed
- Parents:
- 800d188 (diff), 25fdb2d (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - File:
-
- 1 moved
-
common/include/uchar.h (moved) (moved from kernel/generic/include/uchar.h ) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
common/include/uchar.h
r800d188 r29e7cc7 1 1 /* 2 * Copyright (c) 202 0 Martin Decky2 * Copyright (c) 2025 Jiří Zárevúcky 3 3 * All rights reserved. 4 4 * … … 27 27 */ 28 28 29 /** @addtogroup kernel_generic29 /** @addtogroup libc 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef _ KERN_UCHAR_H_36 #define _ KERN_UCHAR_H_35 #ifndef _LIBC_UCHAR_H_ 36 #define _LIBC_UCHAR_H_ 37 37 38 #include <_bits/mbstate_t.h> 39 #include <_bits/size_t.h> 38 40 #include <_bits/uchar.h> 41 #include <stdint.h> 42 43 size_t mbrtoc8(char8_t *__restrict pc8, const char *__restrict s, size_t n, 44 mbstate_t *__restrict ps); 45 size_t c8rtomb(char *__restrict s, char8_t c8, mbstate_t *__restrict ps); 46 size_t mbrtoc16(char16_t *__restrict pc16, const char *__restrict s, size_t n, 47 mbstate_t *__restrict ps); 48 size_t c16rtomb(char *__restrict s, char16_t c16, mbstate_t *__restrict ps); 49 size_t mbrtoc32(char32_t *__restrict pc32, const char *__restrict s, size_t n, 50 mbstate_t *__restrict ps); 51 size_t c32rtomb(char *__restrict s, char32_t c32, mbstate_t *__restrict ps); 52 53 #ifdef _HELENOS_SOURCE 54 #define UCHAR_ILSEQ ((size_t) -1) 55 #define UCHAR_INCOMPLETE ((size_t) -2) 56 #define UCHAR_CONTINUED ((size_t) -3) 57 #endif 39 58 40 59 #endif
Note:
See TracChangeset
for help on using the changeset viewer.
