1 #include "stdio_impl.h"
3 wint_t __fputwc_unlocked(wchar_t c, FILE *f)
11 c = putc_unlocked(c, f);
12 } else if (f->wpos + MB_LEN_MAX < f->wend) {
13 l = wctomb((void *)f->wpos, c);
18 if (l < 0 || __fwritex((void *)mbc, l, f) < l) c = WEOF;
23 wint_t fputwc(wchar_t c, FILE *f)
26 c = __fputwc_unlocked(c, f);
31 weak_alias(__fputwc_unlocked, fputwc_unlocked);
32 weak_alias(__fputwc_unlocked, putwc_unlocked);