Sign in
mojo
/
mojo
/
28dd561326b6d885e105e6bfa34f9b2770ce3910
/
.
/
fusl
/
src
/
stdio
/
fputs.c
blob: 4737f448e934ac18465c4f827b479edabcc180d4 [
file
] [
log
] [
blame
]
#include
"stdio_impl.h"
#include
<string.h>
int
fputs
(
const
char
*
restrict s
,
FILE
*
restrict f
)
{
return
(
int
)
fwrite
(
s
,
strlen
(
s
),
1
,
f
)
-
1
;
}
weak_alias
(
fputs
,
fputs_unlocked
);