diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 2000-07-24 07:47:32 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 2000-07-24 07:47:32 +0000 |
commit | fc3998e9c1df14f4ef4052680a178255c34795bf (patch) | |
tree | 1630c19597702318fe5895afbc1ee453e0b6a204 /mbyte.h | |
parent | 1917c86ff611465be93eacd1ab3899dfafae4b63 (diff) |
Replace wctomb and mbtowc with wcrtomb and mbrtowc. From TAKIZAWA
Takashi <taki@luna.email.ne.jp>, with small changes from Edmund
Grimley Evans.
Diffstat (limited to 'mbyte.h')
-rw-r--r-- | mbyte.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -7,8 +7,7 @@ extern int Charset_is_utf8; size_t utf8rtowc (wchar_t *pwc, const char *s, size_t n, mbstate_t *_ps); #ifndef HAVE_WC_FUNCS -int wctomb (char *s, wchar_t wc); -int mbtowc (wchar_t *pwc, const char *s, size_t n); +size_t wcrtomb (char *s, wchar_t wc, mbstate_t *ps); size_t mbrtowc (wchar_t *pwc, const char *s, size_t n, mbstate_t *ps); int iswprint (wint_t wc); int wcwidth (wchar_t wc); |