Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 8623 → Rev 8624

/contrib/kolibri-libc/source/stdio/fputs.c
2,9 → 2,10
#include <string.h>
 
int fputs(const char *str, FILE *stream){
int s_code;
for(int i=0; i<strlen(str) && s_code!=EOF; i++){
s_code = fputc(str[i], stream);
for(size_t i = 0; i < strlen(str); i++){
if (fputc(str[i], stream) == EOF) {
return EOF;
}
return s_code;
}
return 0;
}