remove long-obsolete clang workarounds from mips* syscall_arch.h files
[musl.git] / src / stdio / fputs.c
blob1cf344f28c6fe88a9394ef64ebe25ea0fbdcf74a
1 #include "stdio_impl.h"
2 #include <string.h>
4 int fputs(const char *restrict s, FILE *restrict f)
6 size_t l = strlen(s);
7 return (fwrite(s, 1, l, f)==l) - 1;
10 weak_alias(fputs, fputs_unlocked);