blob: dc9d6b7e5d991709c64cf051c99bb3883aa876ca [file] [log] [blame]
wdenk6dd652f2003-06-19 23:40:20 +00001/*
2 * (C) Copyright 2000
3 * Murray Jensen <Murray.Jensen@csiro.au>
4 *
Wolfgang Denk1a459662013-07-08 09:37:19 +02005 * SPDX-License-Identifier: GPL-2.0+
wdenk6dd652f2003-06-19 23:40:20 +00006 */
7
wdenk3ba68652000-10-11 22:04:29 +00008#include <termios.h>
9
10#define SERIAL_ERROR -1 /* General error, see errno for details */
11#define SERIAL_TIMEOUT -2
12#define SERIAL_EOF -3
13
14extern speed_t cvtspeed(char *);
15extern int serialopen(char *, speed_t);
16extern int serialreadchar(int, int);
17extern int serialwrite(int, char *, int);
18extern int serialclose(int);