FreeBASIC
0.91.0
Main Page
Data Structures
Files
File List
Globals
file_hreset.c
Go to the documentation of this file.
1
#include "../fb.h"
2
#include "
fb_private_console.h
"
3
4
int
fb_hFileResetEx
(
int
streamno )
5
{
6
FILE *
f
;
7
8
fb_hConsoleResetHandles
();
9
10
if
( streamno == 0 )
11
f = freopen(
"CONIN$"
,
"r"
, stdin );
12
else
13
f = freopen(
"CONOUT$"
,
"w"
, stdout );
14
15
/* force handles to be reinitialized now */
16
fb_hConsoleGetHandle
(
TRUE
);
17
18
return
(f !=
NULL
);
19
}
rtlib
win32
file_hreset.c
Generated on Thu Jan 23 2014 19:40:08 for FreeBASIC by
1.8.4