Subversion Repositories Kolibri OS

Rev

Rev 7172 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
647 andrew_pro 1
#include 
2
int fgetc(FILE* file)
3
{
7184 siemargl 4
	int c = 0, rc;
5
 
6
	rc = fread(&c, 1, 1, file);
647 andrew_pro 7
 
7184 siemargl 8
	if (rc < 1) return EOF;
647 andrew_pro 9
 
7184 siemargl 10
	return c;
6433 siemargl 11
}