2002-10-23 22:47:12 +04:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2002 Marcus Overhagen
|
|
|
|
* All rights reserved.
|
|
|
|
*
|
|
|
|
* Distributed under the terms of the MIT license
|
|
|
|
*/
|
2003-12-30 10:37:08 +03:00
|
|
|
#ifndef _WCHAR_H
|
|
|
|
#define _WCHAR_H
|
2002-10-23 22:47:12 +04:00
|
|
|
|
|
|
|
#include <wchar_t.h>
|
2003-12-30 10:37:08 +03:00
|
|
|
|
2005-02-22 21:06:35 +03:00
|
|
|
#define _WINT_T
|
|
|
|
typedef unsigned int wint_t;
|
|
|
|
|
|
|
|
typedef struct {
|
|
|
|
int __count;
|
|
|
|
wint_t __value;
|
|
|
|
} mbstate_t;
|
|
|
|
|
2003-12-30 10:37:08 +03:00
|
|
|
#include <size_t.h>
|
|
|
|
|
|
|
|
int mbsinit(const mbstate_t *);
|
|
|
|
size_t wcrtomb(char *, wchar_t, mbstate_t *);
|
|
|
|
|
|
|
|
#endif /* _WCHAR_H */
|