FreeBASIC
0.91.0
Main Page
Data Structures
Files
File List
Globals
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 ) )
11
return
fb_ErrorSetNum
(
FB_RTERROR_ILLEGALFUNCTIONCALL
);
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_DevPipeOpen
);
21
}
rtlib
file_openpipe.c
Generated on Thu Jan 23 2014 19:40:11 for FreeBASIC by
1.8.4