abd010bc61
Restored glibc/wcsmbs/wchar.h git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11451 a95241bf-73f2-0310-859d-f6bbb57e9c96
26 lines
438 B
C
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 */
|