musl/src/stdio/putc_unlocked.c

9 lines
173 B
C
Raw Normal View History

2011-02-12 00:22:29 -05:00
#include "stdio_impl.h"
int putc_unlocked(int c, FILE *f)
{
return f->wpos < f->wstop ? (*f->wpos++ = c) : __overflow(f, c);
}
weak_alias(putc_unlocked, fputc_unlocked);