FreeBASIC  0.91.0
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,
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 ) )
17  return fb_FileOpenEx( FB_FILE_TO_HANDLE(fnum), str, mode, access, lock, len );
18 }