initial check-in, version 0.5.0
[musl] / src / stdio / putc_unlocked.c
1 #include "stdio_impl.h"
2
3 int putc_unlocked(int c, FILE *f)
4 {
5         return f->wpos < f->wstop ? (*f->wpos++ = c) : __overflow(f, c);
6 }
7
8 weak_alias(putc_unlocked, fputc_unlocked);