Sign in
fuchsia
/
zircon
/
/
13ee3dc5e4c46bf127977ad28645c47442ec517d
/
.
/
third_party
/
ulib
/
musl
/
src
/
stdio
/
fputs.c
blob: 73a0935c31c88068a0d93e3bd2fe986d12c2adbe [
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
);