summaryrefslogtreecommitdiff
path: root/nonstd/stubs/wchar.h
diff options
context:
space:
mode:
Diffstat (limited to 'nonstd/stubs/wchar.h')
-rw-r--r--nonstd/stubs/wchar.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/nonstd/stubs/wchar.h b/nonstd/stubs/wchar.h
new file mode 100644
index 00000000..0bdc95cb
--- /dev/null
+++ b/nonstd/stubs/wchar.h
@@ -0,0 +1,9 @@
+#include <stddef.h>
+#define WEOF (-1L)
+typedef int mbstate_t;
+typedef int wint_t;
+size_t mbrlen(const char * restrict, size_t, mbstate_t * restrict);
+size_t mbsrtowcs(wchar_t * restrict, const char * restrict, size_t, mbstate_t * restrict);
+size_t mbrtowc(wchar_t * restrict, const char * restrict, size_t, mbstate_t * restrict);
+size_t wcrtomb(char * restrict, wchar_t, mbstate_t * restrict);
+wint_t btowc(int);