repo.or.cz
/
musl.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
remove long-obsolete clang workarounds from mips* syscall_arch.h files
[musl.git]
/
src
/
stdio
/
fputs.c
blob
1cf344f28c6fe88a9394ef64ebe25ea0fbdcf74a
1
#include
"stdio_impl.h"
2
#include <string.h>
3
4
int
fputs
(
const char
*
restrict s
,
FILE
*
restrict f
)
5
{
6
size_t
l
=
strlen
(
s
);
7
return
(
fwrite
(
s
,
1
,
l
,
f
)==
l
) -
1
;
8
}
9
10
weak_alias
(
fputs
,
fputs_unlocked
);