minor correction to sgtty.h, the 4.2 codes where wrong
This commit is contained in:
parent
08ad853ac5
commit
3fbe8fa7c1
|
@ -8,8 +8,8 @@ struct sgttyb {
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifdef __BSD4_2
|
#ifdef __BSD4_2
|
||||||
#define TIOCGETP ((('t'<<8)|8)|(sizeof(struct sgttyb)<<16))
|
#define TIOCGETP ((('t'<<8)|8)|(sizeof(struct sgttyb)<<16)|0x80000000)
|
||||||
#define TIOCSETN ((('t'<<8)|10)|(sizeof(struct sgttyb)<<16))
|
#define TIOCSETN ((('t'<<8)|10)|(sizeof(struct sgttyb)<<16)|0x40000000)
|
||||||
#else
|
#else
|
||||||
#define TIOCGETP (('t'<<8)|8)
|
#define TIOCGETP (('t'<<8)|8)
|
||||||
#define TIOCSETN (('t'<<8)|10)
|
#define TIOCSETN (('t'<<8)|10)
|
||||||
|
|
Loading…
Reference in a new issue