--- Net2/sys/ioctl.h 2018/04/24 18:10:32 1.1.1.2 +++ Net2/sys/ioctl.h 2018/04/24 18:16:37 1.1.1.3 @@ -30,18 +30,12 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * @(#)ioctl.h 7.19 (Berkeley) 6/26/91 - * - * PATCHES MAGIC LEVEL PATCH THAT GOT US HERE - * -------------------- ----- ---------------------- - * CURRENT PATCH LEVEL: 1 00059 - * -------------------- ----- ---------------------- - * - * 27 Nov 1992 Scott Reynolds Completed V7 ioctl compatablity + * from: @(#)ioctl.h 7.19 (Berkeley) 6/26/91 + * ioctl.h,v 1.5 1993/06/27 05:59:03 andrew Exp */ -#ifndef _IOCTL_H_ -#define _IOCTL_H_ +#ifndef _SYS_IOCTL_H_ +#define _SYS_IOCTL_H_ /* * Window/terminal size structure. This information is stored by the kernel @@ -154,6 +148,7 @@ struct ttysize { #define TIOCSIG _IO('t', 95) /* pty: generate signal */ #define TIOCDRAIN _IO('t', 94) /* wait till output drained */ + #define TTYDISC 0 /* termios tty line discipline */ #define TABLDISC 3 /* tablet discipline */ #define SLIPDISC 4 /* serial IP discipline */ @@ -229,4 +224,5 @@ __END_DECLS #else #include #endif -#endif + +#endif /* !_SYS_IOCTL_H_ */