Subversion Repositories Kolibri OS

Rev

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

  1. #include <stdio.h>
  2.  
  3. int fputc(int sym, FILE *stream)
  4. {
  5.     if(!fwrite(&sym, sizeof(char), 1, stream)){
  6.         return EOF;
  7.     }
  8.     return sym;
  9. }