Chromium Code Reviews| Index: fusl/src/stdio/fputs.c |
| diff --git a/fusl/src/stdio/fputs.c b/fusl/src/stdio/fputs.c |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..4737f448e934ac18465c4f827b479edabcc180d4 |
| --- /dev/null |
| +++ b/fusl/src/stdio/fputs.c |
| @@ -0,0 +1,9 @@ |
| +#include "stdio_impl.h" |
| +#include <string.h> |
| + |
| +int fputs(const char *restrict s, FILE *restrict f) |
| +{ |
| + return (int)fwrite(s, strlen(s), 1, f) - 1; |
| +} |
| + |
| +weak_alias(fputs, fputs_unlocked); |