Files

10 lines
136 B
C

#include <stdio.h>
int fputs(const char *s,FILE *stream)
{
while(*s)
if(fputc(*s++,stream)==EOF)
return EOF;
return 0;
}