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( "/dev/tty", "r", stdin );
9  else
10  f = freopen( "/dev/tty", "w", stdout );
11 
12  return (f != NULL);
13 }