FreeBASIC  0.91.0
file_openpipe.c
Go to the documentation of this file.
1 /* open PIPE */
2 
3 #include "fb.h"
4 
5 /*:::::*/
6 FBCALL int fb_FileOpenPipe ( 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 ),
21 }