Subversion Repositories Kolibri OS

Rev

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.     int s_code;
  6.     for(int i=0; i<strlen(str) && s_code!=EOF; i++){
  7.         s_code = fputc(str[i], stream);
  8.     }
  9.     return s_code;
  10. }