1 #include "stdio_impl.h"
3 wint_t __fputwc_unlocked(wchar_t c, FILE *f)
11 if (c != f->lbf && f->wpos + 1 < f->wend) *f->wpos++ = c;
12 else c = __overflow(f, c);
13 } else if (f->wpos + MB_LEN_MAX < f->wend) {
14 l = wctomb(f->wpos, c);
19 if (l < 0 || __fwritex(mbc, l, f) < l) c = WEOF;
24 wint_t fputwc(wchar_t c, FILE *f)
27 c = __fputwc_unlocked(c, f);
32 weak_alias(__fputwc_unlocked, fputwc_unlocked);
33 weak_alias(__fputwc_unlocked, putwc_unlocked);