Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
musl
/
efe9751468aae9eefd2f43781ae6d46170d97512
/
.
/
src
/
stdio
/
fputs.c
blob: e6bdb204ab0ffe8d3b7b5b028ba3552fc9f3ce55 [
file
] [
log
] [
blame
]
#include
"stdio_impl.h"
int
fputs
(
const
char
*
s
,
FILE
*
f
)
{
size_t
l
=
strlen
(
s
);
if
(!
l
)
return
0
;
return
(
int
)
fwrite
(
s
,
l
,
1
,
f
)
-
1
;
}
weak_alias
(
fputs
,
fputs_unlocked
);