Menu

[0a35e6]: / src / rtlib / netbsd / io_serial.c  Maximize  Restore  History

Download this file

36 lines (29 with data), 814 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/* serial port access stubs */
#include "../fb.h"
int fb_SerialOpen
(
FB_FILE *handle,
int iPort,
FB_SERIAL_OPTIONS *options,
const char *pszDevice,
void **ppvHandle
)
{
return fb_ErrorSetNum( FB_RTERROR_ILLEGALFUNCTIONCALL );
}
int fb_SerialGetRemaining( FB_FILE *handle, void *pvHandle, fb_off_t *pLength )
{
return fb_ErrorSetNum( FB_RTERROR_ILLEGALFUNCTIONCALL );
}
int fb_SerialWrite( FB_FILE *handle, void *pvHandle, const void *data, size_t length )
{
return fb_ErrorSetNum( FB_RTERROR_ILLEGALFUNCTIONCALL );
}
int fb_SerialRead( FB_FILE *handle, void *pvHandle, void *data, size_t *pLength )
{
return fb_ErrorSetNum( FB_RTERROR_ILLEGALFUNCTIONCALL );
}
int fb_SerialClose( FB_FILE *handle, void *pvHandle )
{
return fb_ErrorSetNum( FB_RTERROR_ILLEGALFUNCTIONCALL );
}
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.