xref: /haiku/headers/posix/wchar.h (revision fef6144999c2fa611f59ee6ffe6dd7999501385c)
1 /*
2  * Copyright (C) 2002 Marcus Overhagen
3  * All rights reserved.
4  *
5  * Distributed under the terms of the MIT license
6  */
7 #ifndef _WCHAR_H
8 #define _WCHAR_H
9 
10 #include <wchar_t.h>
11 
12 #define _WINT_T
13 typedef unsigned int wint_t;
14 
15 typedef struct {
16         int             __count;
17         wint_t  __value;
18 } mbstate_t;
19 
20 #include <size_t.h>
21 
22 int		mbsinit(const mbstate_t *);
23 size_t	wcrtomb(char *, wchar_t, mbstate_t *);
24 
25 #endif /* _WCHAR_H */
26