FreeBASIC
0.91.0
Main Page
Data Structures
Files
File List
Globals
file_open.c
Go to the documentation of this file.
1
/* open and core file functions */
2
3
#include "
fb.h
"
4
5
int
fb_FileOpenEx
(
FB_FILE
*
handle
,
FBSTRING
*str,
unsigned
int
mode,
6
unsigned
int
access,
unsigned
int
lock,
int
len )
7
{
8
return
fb_FileOpenVfsEx
( handle, str, mode, access, lock, len,
9
FB_FILE_ENCOD_DEFAULT
,
fb_DevFileOpen
);
10
}
11
12
FBCALL
int
fb_FileOpen
(
FBSTRING
*str,
unsigned
int
mode,
unsigned
int
access,
13
unsigned
int
lock,
int
fnum,
int
len )
14
{
15
if
( !
FB_FILE_INDEX_VALID
( fnum ) )
16
return
fb_ErrorSetNum
(
FB_RTERROR_ILLEGALFUNCTIONCALL
);
17
return
fb_FileOpenEx
(
FB_FILE_TO_HANDLE
(fnum), str, mode, access, lock, len );
18
}
rtlib
file_open.c
Generated on Thu Jan 23 2014 19:40:11 for FreeBASIC by
1.8.4