summaryrefslogtreecommitdiffstats
path: root/mbyte.h
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>2000-07-24 07:47:32 +0000
committerThomas Roessler <roessler@does-not-exist.org>2000-07-24 07:47:32 +0000
commitfc3998e9c1df14f4ef4052680a178255c34795bf (patch)
tree1630c19597702318fe5895afbc1ee453e0b6a204 /mbyte.h
parent1917c86ff611465be93eacd1ab3899dfafae4b63 (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.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/mbyte.h b/mbyte.h
index 1f25dc71..475582e9 100644
--- a/mbyte.h
+++ b/mbyte.h
@@ -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);