source:
EcnlProtoTool/trunk/musl-1.1.18/src/stdio/putc.c
Last change on this file was 444, checked in by , 4 years ago | |
---|---|
|
|
File size: 204 bytes |
Line | |
---|---|
1 | #include "stdio_impl.h" |
2 | |
3 | int putc(int c, FILE *f) |
4 | { |
5 | if (f->lock < 0 || !__lockfile(f)) |
6 | return putc_unlocked(c, f); |
7 | c = putc_unlocked(c, f); |
8 | __unlockfile(f); |
9 | return c; |
10 | } |
11 | |
12 | weak_alias(putc, _IO_putc); |
Note:
See TracBrowser
for help on using the repository browser.