Subversion Repositories Kolibri OS

Rev

Rev 8622 | Go to most recent revision | Blame | Last modification | View Log | RSS feed

  1. #include <stdio.h>
  2. #include <string.h>
  3.  
  4. int fputs(const char *str, FILE *stream){
  5.     for(size_t i = 0; i < strlen(str); i++){
  6.         if (fputc(str[i], stream) == EOF) {
  7.                 return EOF;
  8.         }
  9.     }
  10.     return 0;
  11. }