musl/src/stdio/fputc.c

12 lines
142 B
C
Raw Normal View History

2011-02-12 00:22:29 -05:00
#include "stdio_impl.h"
int fputc(int c, FILE *f)
{
FLOCK(f);
c = putc_unlocked(c, f);
2011-02-12 00:22:29 -05:00
FUNLOCK(f);
return c;
}
weak_alias(fputc, putc);