source:
EcnlProtoTool/trunk/musl-1.1.18/src/stdio/puts.c@
445
Last change on this file since 445 was 444, checked in by , 4 years ago | |
---|---|
|
|
File size: 171 bytes |
Line | |
---|---|
1 | #include "stdio_impl.h" |
2 | |
3 | int puts(const char *s) |
4 | { |
5 | int r; |
6 | FLOCK(stdout); |
7 | r = -(fputs(s, stdout) < 0 || putc_unlocked('\n', stdout) < 0); |
8 | FUNLOCK(stdout); |
9 | return r; |
10 | } |
Note:
See TracBrowser
for help on using the repository browser.