1 /* SPDX-License-Identifier: GPL-2.0+ */
9 #define SERIAL_ERROR -1 /* General error, see errno for details */
10 #define SERIAL_TIMEOUT -2
13 extern speed_t cvtspeed(char *);
14 extern int serialopen(char *, speed_t);
15 extern int serialreadchar(int, int);
16 extern int serialwrite(int, char *, int);
17 extern int serialclose(int);