FreeBASIC
0.91.0
Main Page
Data Structures
Files
File List
Globals
file_openscrn.c
Go to the documentation of this file.
1
/* open SCRN */
2
3
#include "
fb.h
"
4
5
/*:::::*/
6
FBCALL
int
fb_FileOpenScrn
(
FBSTRING
*str_filename,
unsigned
int
mode,
7
unsigned
int
access,
unsigned
int
lock,
8
int
fnum,
int
len,
const
char
*encoding )
9
{
10
if
( !
FB_FILE_INDEX_VALID
( fnum ) )
11
return
fb_ErrorSetNum
(
FB_RTERROR_ILLEGALFUNCTIONCALL
);
12
13
fb_DevScrnInit
( );
14
15
return
fb_FileOpenVfsEx
(
FB_FILE_TO_HANDLE
(fnum),
16
str_filename,
17
mode,
18
access,
19
lock,
20
len,
21
fb_hFileStrToEncoding
( encoding ),
22
fb_DevScrnOpen
);
23
}
rtlib
file_openscrn.c
Generated on Thu Jan 23 2014 19:40:11 for FreeBASIC by
1.8.4