FreeBASIC  0.91.0
file_openerr.c
Go to the documentation of this file.
1 /* open ERR */
2 
3 #include "fb.h"
4 
5 /*:::::*/
6 FBCALL int fb_FileOpenErr ( 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 ) )
12 
13  return fb_FileOpenVfsEx( FB_FILE_TO_HANDLE(fnum),
14  str_filename,
15  mode,
16  access,
17  lock,
18  len,
19  fb_hFileStrToEncoding( encoding ),
20  fb_DevErrOpen );
21 }