-/* $OpenBSD: ldattach.c,v 1.15 2014/08/10 02:09:35 guenther Exp $ */
+/* $OpenBSD: ldattach.c,v 1.16 2015/01/15 00:48:10 deraadt Exp $ */
/*
* Copyright (c) 2007, 2008 Marc Balmer <mbalmer@openbsd.org>
#include <sys/limits.h>
#include <sys/socket.h>
#include <sys/stat.h>
-#include <sys/ttycom.h>
+#include <sys/ioctl.h>
#include <err.h>
#include <errno.h>
-.\" $OpenBSD: endrun.4,v 1.2 2009/05/06 18:55:29 stevesk Exp $
+.\" $OpenBSD: endrun.4,v 1.3 2015/01/15 00:48:10 deraadt Exp $
.\"
.\" Copyright (c) 2008 Marc Balmer <mbalmer@openbsd.org>
.\" Copyright (c) 2009 Kevin Steves <stevesk@openbsd.org>
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: May 6 2009 $
+.Dd $Mdocdate: January 15 2015 $
.Dt ENDRUN 4
.Os
.Sh NAME
.Pp
The line discipline is enabled by the following sequence:
.Bd -literal -offset indent
-#include <sys/ttycom.h>
+#include <sys/ioctl.h>
int ldisc = ENDRUNDISC, fildes; ...
ioctl(fildes, TIOCSETD, &ldisc);
.Ed
-.\" $OpenBSD: msts.4,v 1.3 2013/07/16 16:05:49 schwarze Exp $
+.\" $OpenBSD: msts.4,v 1.4 2015/01/15 00:48:10 deraadt Exp $
.\"
.\" Copyright (c) 2008 Marc Balmer <mbalmer@openbsd.org>
.\"
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: July 16 2013 $
+.Dd $Mdocdate: January 15 2015 $
.Dt MSTS 4
.Os
.Sh NAME
.Pp
The line discipline is enabled by the following sequence:
.Bd -literal -offset indent
-#include <sys/ttycom.h>
+#include <sys/ioctl.h>
int ldisc = MSTSDISC, fildes; ...
ioctl(fildes, TIOCSETD, &ldisc);
.Ed
-.\" $OpenBSD: nmea.4,v 1.24 2013/07/16 16:05:49 schwarze Exp $
+.\" $OpenBSD: nmea.4,v 1.25 2015/01/15 00:48:10 deraadt Exp $
.\"
.\" Copyright (c) 2006, 2007 Marc Balmer <mbalmer@openbsd.org>
.\"
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: July 16 2013 $
+.Dd $Mdocdate: January 15 2015 $
.Dt NMEA 4
.Os
.Sh NAME
.Pp
The line discipline is enabled by the following sequence:
.Bd -literal -offset indent
-#include <sys/ttycom.h>
+#include <sys/ioctl.h>
int ldisc = NMEADISC, fildes; ...
ioctl(fildes, TIOCSETD, &ldisc);
.Ed