public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08ad853
)
minor correction to sgtty.h, the 4.2 codes where wrong
author
ceriel
<none@none>
Thu, 23 Apr 1987 16:14:13 +0000
(16:14 +0000)
committer
ceriel
<none@none>
Thu, 23 Apr 1987 16:14:13 +0000
(16:14 +0000)
include/_tail_cc/sgtty.h
patch
|
blob
|
history
diff --git
a/include/_tail_cc/sgtty.h
b/include/_tail_cc/sgtty.h
index
22275e3
..
83daab3
100644
(file)
--- a/
include/_tail_cc/sgtty.h
+++ b/
include/_tail_cc/sgtty.h
@@
-8,8
+8,8
@@
struct sgttyb {
};
#ifdef __BSD4_2
-#define TIOCGETP ((('t'<<8)|8)|(sizeof(struct sgttyb)<<16))
-#define TIOCSETN ((('t'<<8)|10)|(sizeof(struct sgttyb)<<16))
+#define TIOCGETP ((('t'<<8)|8)|(sizeof(struct sgttyb)<<16)
|0x80000000
)
+#define TIOCSETN ((('t'<<8)|10)|(sizeof(struct sgttyb)<<16)
|0x40000000
)
#else
#define TIOCGETP (('t'<<8)|8)
#define TIOCSETN (('t'<<8)|10)