From: roland Date: Tue, 5 May 1992 23:27:40 +0000 (+0000) Subject: Formerly unix/bsd/bsd4.4/ioctls.h.~2~ X-Git-Tag: jems-14oct94~4658 X-Git-Url: http://git.csclub.uwaterloo.ca/?p=kopensolaris-gnu%2Fglibc.git;a=commitdiff_plain;h=9bcf07687bd8ef21df7ae269ba46ae245fa8975d Formerly unix/bsd/bsd4.4/ioctls.h.~2~ --- 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_ */