Sign in
cobalt
/
cobalt
/
b48d5d342d8a80b19c4a69b353cdb8fdc6ab3789
/
.
/
third_party
/
musl
/
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
;
}