Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2009-07-20 19:44:55 +0400
committerCorinna Vinschen <corinna@vinschen.de>2009-07-20 19:44:55 +0400
commit20fc2f493621f1f159bbea354e32a1d30b5f428a (patch)
treea0943ce4f47141ac69bde03caf8085ed2353ea30 /winsup/cygwin/wchar.h
parentcb8ee36ae8a617fc6fddc36d4c2e76e7593d2765 (diff)
* wincap.h (wincaps::has_always_all_codepages): New element.
* wincap.cc: Implement above element throughout. * wchar.h (__sjis_mbtowc): Declare. (__eucjp_mbtowc): Ditto. (__gbk_mbtowc): Ditto. (__kr_mbtowc): Ditto. (__big5_mbtowc): Ditto. * syscalls.cc (internal_setlocale): Convert to char * function. Return parameter by default. Return NULL if request to use a charset can't be satisfied due to missing codepage support in the underlying OS. Fix comment. (setlocale): Store original locale. Restore to original locale if internal_setlocale returns NULL.
Diffstat (limited to 'winsup/cygwin/wchar.h')
-rw-r--r--winsup/cygwin/wchar.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/winsup/cygwin/wchar.h b/winsup/cygwin/wchar.h
index fc8eb3858..f989b7d11 100644
--- a/winsup/cygwin/wchar.h
+++ b/winsup/cygwin/wchar.h
@@ -28,6 +28,11 @@ extern mbtowc_f __ascii_mbtowc;
extern mbtowc_f __utf8_mbtowc;
extern mbtowc_f __iso_mbtowc;
extern mbtowc_f __cp_mbtowc;
+extern mbtowc_f __sjis_mbtowc;
+extern mbtowc_f __eucjp_mbtowc;
+extern mbtowc_f __gbk_mbtowc;
+extern mbtowc_f __kr_mbtowc;
+extern mbtowc_f __big5_mbtowc;
typedef int wctomb_f (struct _reent *, char *, wchar_t, const char *,
mbstate_t *);