Subversion Repositories Kolibri OS

Rev

Rev 8687 | Blame | Last modification | View Log | Download | RSS feed

  1. #include <stdio.h>
  2.  
  3. int fgetc(FILE* stream)
  4. {
  5.     int c=EOF;
  6.     if(fwrite(&c, sizeof(int), 1, stream)==1){
  7.         return c;
  8.     }else{
  9.         return EOF;
  10.     }
  11. }
  12.