SCCS-vsn: sys/kern/tty_compat.c 7.5
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
*
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
*
- * @(#)tty_compat.c 7.4 (Berkeley) %G%
+ * @(#)tty_compat.c 7.5 (Berkeley) %G%
return(ttioctl(tp, TIOCSETD,
*(int *)data == 2 ? (caddr_t)&ldisczero : data, flag));
return(ttioctl(tp, TIOCSETD,
*(int *)data == 2 ? (caddr_t)&ldisczero : data, flag));
+
+ case OTIOCCONS:
+ *(int *)data = 1;
+ return(ttioctl(tp, TIOCCONS, data, flag));