Subversion Repositories Kolibri OS

Rev

Rev 647 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 647 Rev 6433
Line 1... Line 1...
1
#include 
1
#include 
2
int fflush(FILE* file)
2
int fflush(FILE* file)
-
 
3
// file can be zero, as flush all
3
{
4
{
4
	if ((file->mode & 3)==FILE_OPEN_READ)
5
	if (file && (file->mode & 3)==FILE_OPEN_READ)
5
  		return 0;
6
  		return 0;
-
 
7
 
6
  	return(EOF);
8
  	return(0);  // always good, as no write buffering
7
}
9
}
8
10