projects
/
kopensolaris-gnu
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9714759
)
Formerly unix/bsd/bsd4.4/ioctls.h.~2~
author
roland
<roland>
Tue, 5 May 1992 23:27:40 +0000
(23:27 +0000)
committer
roland
<roland>
Tue, 5 May 1992 23:27:40 +0000
(23:27 +0000)
sysdeps/unix/bsd/bsd4.4/ioctls.h
patch
|
blob
|
history
diff --git
a/sysdeps/unix/bsd/bsd4.4/ioctls.h
b/sysdeps/unix/bsd/bsd4.4/ioctls.h
index
30ac65e
..
5404f82
100644
(file)
--- 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 */
#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 <sys/ioctl_compat.h>. */
#ifdef USE_OLD_TTY
# undef TIOCGETD
#ifdef USE_OLD_TTY
# undef TIOCGETD
@@
-288,4
+289,24
@@
struct ttysize {
#define NETLDISC 1
#define NTTYDISC 2
#define NETLDISC 1
#define NTTYDISC 2
+/* From 4.4 <sys/ttydev.h>. */
+#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_ */
#endif /* !_IOCTLS_H_ */