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
178 B
10 lines
178 B
#include "stdio_impl.h"
|
|
|
|
int fputs(const char *s, FILE *f)
|
|
{
|
|
size_t l = strlen(s);
|
|
if (!l) return 0;
|
|
return (int)fwrite(s, l, 1, f) - 1;
|
|
}
|
|
|
|
weak_alias(fputs, fputs_unlocked);
|
|
|