Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
musl
/
6651ef1f060738ee1f50cac1fe6d8ce64c359022
/
.
/
src
/
stdio
/
puts.c
blob: 5a38a49b975adcad3192eda3148ef1acf55ad0df [
file
] [
log
] [
blame
]
#include
"stdio_impl.h"
int
puts
(
const
char
*
s
)
{
int
r
;
FLOCK
(
stdout
);
r
=
-(
fputs
(
s
,
stdout
)
<
0
||
putc_unlocked
(
'\n'
,
stdout
)
<
0
);
FUNLOCK
(
stdout
);
return
r
;
}