if (!s) return 1; if (wc < 0x100) { *s = wc; return 1; }
size_t wcrtomb (char *s, wchar_t wc, mbstate_t *ps){  static mbstate_t mbstate;  if (!ps)    ps = &mbstate;  if (!s)  {    memset (ps, 0, sizeof (*ps));    return 1;  }  if (!wc)  {    memset (ps, 0, sizeof (*ps));    *s = 0;    return 1;  }  if (Charset_is_utf8)    return mutt_wctoutf8 (s, wc);  else if (wc < 0x100)  {    *s = wc;    return 1;  }  else  {    errno = EILSEQ;    return (size_t)(-1);  }}