source:
asp3_tinet_ecnl_rx/trunk/musl-1.1.18/src/stdio/puts.c
Last change on this file was 337, checked in by , 6 years ago | |
---|---|
|
|
File size: 171 bytes |
Rev | Line | |
---|---|---|
[337] | 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.