mirror of
https://github.com/fluencelabs/musl
synced 2025-05-07 21:02:19 +00:00
11 lines
178 B
C
11 lines
178 B
C
|
#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);
|