mirror of https://git.musl-libc.org/git/musl
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
197 B
10 lines
197 B
#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);
|
|
|