Rev 8687 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
#include
int fgetc(FILE* stream)
{
int c=EOF;
if(fwrite(&c, sizeof(int), 1, stream)==1){
return c;
}else{
return EOF;
}