From 9bcf07687bd8ef21df7ae269ba46ae245fa8975d Mon Sep 17 00:00:00 2001 From: roland Date: Tue, 5 May 1992 23:27:40 +0000 Subject: [PATCH] Formerly unix/bsd/bsd4.4/ioctls.h.~2~ --- sysdeps/unix/bsd/bsd4.4/ioctls.h | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/sysdeps/unix/bsd/bsd4.4/ioctls.h b/sysdeps/unix/bsd/bsd4.4/ioctls.h index 30ac65e559..5404f82161 100644 --- a/sysdeps/unix/bsd/bsd4.4/ioctls.h +++ b/sysdeps/unix/bsd/bsd4.4/ioctls.h @@ -198,7 +198,8 @@ struct ttysize { #define SIOCDARP _IOW('i', 32, struct arpreq) /* delete arp entry */ -/* Compatibility with 4.3 BSD terminal driver. */ +/* Compatibility with 4.3 BSD terminal driver. + From 4.4 . */ #ifdef USE_OLD_TTY # undef TIOCGETD @@ -288,4 +289,24 @@ struct ttysize { #define NETLDISC 1 #define NTTYDISC 2 +/* From 4.4 . */ +#ifdef USE_OLD_TTY +#define B0 0 +#define B50 1 +#define B75 2 +#define B110 3 +#define B134 4 +#define B150 5 +#define B200 6 +#define B300 7 +#define B600 8 +#define B1200 9 +#define B1800 10 +#define B2400 11 +#define B4800 12 +#define B9600 13 +#define EXTA 14 +#define EXTB 15 +#endif /* USE_OLD_TTY */ + #endif /* !_IOCTLS_H_ */ -- 2.11.0