1 #include "stdio_impl.h"
6 wint_t __fputwc_unlocked(wchar_t c, FILE *f)
14 c = putc_unlocked(c, f);
15 } else if (f->wpos + MB_LEN_MAX < f->wend) {
16 l = wctomb((void *)f->wpos, c);
21 if (l < 0 || __fwritex((void *)mbc, l, f) < l) c = WEOF;
26 wint_t fputwc(wchar_t c, FILE *f)
29 c = __fputwc_unlocked(c, f);
34 weak_alias(__fputwc_unlocked, fputwc_unlocked);
35 weak_alias(__fputwc_unlocked, putwc_unlocked);