FreeBASIC  0.91.0
file_hreset.c
Go to the documentation of this file.
1 #include "../fb.h"
2 
3 int fb_hFileResetEx( int streamno )
4 {
5  FILE *f;
6 
7  if( streamno == 0 )
8  f = freopen( "CON", "r", stdin );
9  else
10  f = freopen( "CON", "w", stdout );
11 
12  return (f != NULL);
13 }