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