98d0a20aca814bddf897c8049aff06af9c4cf75e
[musl] / src / stdio / fputc.c
1 #include "stdio_impl.h"
2
3 int fputc(int c, FILE *f)
4 {
5         FLOCK(f);
6         c = putc_unlocked(c, f);
7         FUNLOCK(f);
8         return c;
9 }
10
11 weak_alias(fputc, putc);