regex: treat \| in BRE as alternation
[musl.git] / include / uchar.h
blob8dabf1ed9b8ee291709cb919bb7c05b85fa2d7ab
1 #ifndef _UCHAR_H
2 #define _UCHAR_H
4 #ifdef __cplusplus
5 extern "C" {
6 #else
7 typedef unsigned short char16_t;
8 typedef unsigned char32_t;
9 #endif
11 #define __NEED_mbstate_t
12 #define __NEED_size_t
14 #include <features.h>
15 #include <bits/alltypes.h>
17 size_t c16rtomb(char *__restrict, char16_t, mbstate_t *__restrict);
18 size_t mbrtoc16(char16_t *__restrict, const char *__restrict, size_t, mbstate_t *__restrict);
20 size_t c32rtomb(char *__restrict, char32_t, mbstate_t *__restrict);
21 size_t mbrtoc32(char32_t *__restrict, const char *__restrict, size_t, mbstate_t *__restrict);
23 #ifdef __cplusplus
25 #endif
27 #endif