blob: b41bc8c7c97f157353b55c31d0ea3176bf551f48 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
#include "stdio_impl.h"
int fputs(const char *restrict s, FILE *restrict f)
{
size_t l = strlen(s);
if (!l) return 0;
return (int)fwrite(s, l, 1, f) - 1;
}
weak_alias(fputs, fputs_unlocked);
|