summaryrefslogblamecommitdiff
path: root/src/stdio/fputs.c
blob: 4737f448e934ac18465c4f827b479edabcc180d4 (plain) (tree)
1
2
3
4
5
6
7
8
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);