haiku/headers/posix/wchar.h
Jérôme Duval abd010bc61 Moved mbstate to wchar.h
Restored glibc/wcsmbs/wchar.h


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11451 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-22 18:06:35 +00:00

26 lines
438 B
C

/*
* Copyright (C) 2002 Marcus Overhagen
* All rights reserved.
*
* Distributed under the terms of the MIT license
*/
#ifndef _WCHAR_H
#define _WCHAR_H
#include <wchar_t.h>
#define _WINT_T
typedef unsigned int wint_t;
typedef struct {
int __count;
wint_t __value;
} mbstate_t;
#include <size_t.h>
int mbsinit(const mbstate_t *);
size_t wcrtomb(char *, wchar_t, mbstate_t *);
#endif /* _WCHAR_H */