X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/blobdiff_plain/a68924a6e07d69bc4b8d6106b3af0ac5a7490905..28973f6964d47bfa41758c972145188438931435:/usr/include/sgtty.h diff --git a/usr/include/sgtty.h b/usr/include/sgtty.h index be6b89f7e0..660461c93e 100644 --- a/usr/include/sgtty.h +++ b/usr/include/sgtty.h @@ -7,12 +7,9 @@ struct sgttyb { char sg_ospeed; /* output speed */ char sg_erase; /* erase character */ char sg_kill; /* kill character */ - int sg_flags; /* mode flags */ + short sg_flags; /* mode flags */ }; -/* - * List of special characters - */ struct tchars { char t_intrc; /* interrupt */ char t_quitc; /* quit */ @@ -21,7 +18,6 @@ struct tchars { char t_eofc; /* end-of-file */ char t_brkc; /* input delimiter (like nl) */ }; - /* * Modes */ @@ -94,10 +90,10 @@ struct tchars { #define TIOCSETN (('t'<<8)|10) #define TIOCEXCL (('t'<<8)|13) #define TIOCNXCL (('t'<<8)|14) -#define TIOHMODE (('t'<<8)|15) -#define TIOCTSTP (('t'<<8)|16) +#define TIOCFLUSH (('t'<<8)|16) #define TIOCSETC (('t'<<8)|17) #define TIOCGETC (('t'<<8)|18) +#define TIOCSBRK (('t'<<8)|19) #define DIOCLSTN (('d'<<8)|1) #define DIOCNTRL (('d'<<8)|2) #define DIOCMPX (('d'<<8)|3)