FreeBASIC
0.91.0
Main Page
Data Structures
Files
File List
Globals
io_serial.c
Go to the documentation of this file.
1
/* serial port access stubs */
2
3
#include "../fb.h"
4
5
int
fb_SerialOpen
6
(
7
FB_FILE
*
handle
,
8
int
iPort,
9
FB_SERIAL_OPTIONS
*options,
10
const
char
*pszDevice,
11
void
**ppvHandle
12
)
13
{
14
return
fb_ErrorSetNum
(
FB_RTERROR_ILLEGALFUNCTIONCALL
);
15
}
16
17
int
fb_SerialGetRemaining
(
FB_FILE
*handle,
void
*pvHandle,
fb_off_t
*pLength )
18
{
19
return
fb_ErrorSetNum
(
FB_RTERROR_ILLEGALFUNCTIONCALL
);
20
}
21
22
int
fb_SerialWrite
(
FB_FILE
*handle,
void
*pvHandle,
const
void
*data,
size_t
length )
23
{
24
return
fb_ErrorSetNum
(
FB_RTERROR_ILLEGALFUNCTIONCALL
);
25
}
26
27
int
fb_SerialRead
(
FB_FILE
*handle,
void
*pvHandle,
void
*data,
size_t
*pLength )
28
{
29
return
fb_ErrorSetNum
(
FB_RTERROR_ILLEGALFUNCTIONCALL
);
30
}
31
32
int
fb_SerialClose
(
FB_FILE
*handle,
void
*pvHandle )
33
{
34
return
fb_ErrorSetNum
(
FB_RTERROR_ILLEGALFUNCTIONCALL
);
35
}
rtlib
freebsd
io_serial.c
Generated on Thu Jan 23 2014 19:40:10 for FreeBASIC by
1.8.4