repo.or.cz
/
musl.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
s390x: add single-instruction math functions
[musl.git]
/
src
/
stdio
/
puts.c
blob
5a38a49b975adcad3192eda3148ef1acf55ad0df
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
}