blob: 1112b192c06b49528862fec0168f5af2527d1886 (
plain) (
tree)
|
|
#include "stdio_impl.h"
#include <string.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);
|