Sign in
cobalt
/
cobalt
/
07081467c3d00b04a6a1162e0566a5a8b9cfe2d5
/
.
/
third_party
/
musl
/
src
/
stdio
/
fputs.c
blob: 1cf344f28c6fe88a9394ef64ebe25ea0fbdcf74a [
file
] [
log
] [
blame
]
#include
"stdio_impl.h"
#include
<string.h>
int
fputs
(
const
char
*
restrict s
,
FILE
*
restrict f
)
{
size_t
l
=
strlen
(
s
);
return
(
fwrite
(
s
,
1
,
l
,
f
)==
l
)
-
1
;
}
weak_alias
(
fputs
,
fputs_unlocked
);