From e190db812885d35e2a472c64bab1e799ccef1858 Mon Sep 17 00:00:00 2001 From: ceriel Date: Thu, 26 Mar 1987 17:36:49 +0000 Subject: [PATCH] Initial revision --- include/_tail_cc/sgtty.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 include/_tail_cc/sgtty.h diff --git a/include/_tail_cc/sgtty.h b/include/_tail_cc/sgtty.h new file mode 100644 index 000000000..7a0056a20 --- /dev/null +++ b/include/_tail_cc/sgtty.h @@ -0,0 +1,17 @@ +#ifdef __CHANNEL__ +#define TIOCGETP (('t'<<8)|8) +#define TIOCSETN (('t'<<8)|10) +struct sgttyb { + char sg_ispeed; + char sg_ospeed; + char sg_erase; + char sg_kill; + short sg_flags; +}; + +#define CBREAK 02 +#define ECHO 010 +#define CRMOD 020 +#else +#include "/usr/include/sgtty.h" +#endif -- 2.34.1