wdenk | 3ba6865 | 2000-10-11 22:04:29 +0000 | [diff] [blame^] | 1 | #include <termios.h> |
2 | |||||
3 | #define SERIAL_ERROR -1 /* General error, see errno for details */ | ||||
4 | #define SERIAL_TIMEOUT -2 | ||||
5 | #define SERIAL_EOF -3 | ||||
6 | |||||
7 | extern speed_t cvtspeed(char *); | ||||
8 | extern int serialopen(char *, speed_t); | ||||
9 | extern int serialreadchar(int, int); | ||||
10 | extern int serialwrite(int, char *, int); | ||||
11 | extern int serialclose(int); |