Fix date, and some whitespace while I'm here.
This commit is contained in:
parent
4ed1f1f6aa
commit
f7064e7d10
|
@ -1,8 +1,8 @@
|
|||
.\" $NetBSD: linedisc.9,v 1.2 2001/02/10 23:24:13 eeh Exp $
|
||||
.\" $NetBSD: linedisc.9,v 1.3 2001/04/09 17:13:19 wiz Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 2000 Christopher G. Demetriou.
|
||||
.\" All rights reserved.
|
||||
.\"
|
||||
.\"
|
||||
.\" Redistribution and use in source and binary forms, with or without
|
||||
.\" modification, are permitted provided that the following conditions
|
||||
.\" are met:
|
||||
|
@ -18,7 +18,7 @@
|
|||
.\" information about NetBSD.
|
||||
.\" 4. The name of the author may not be used to endorse or promote products
|
||||
.\" derived from this software without specific prior written permission.
|
||||
.\"
|
||||
.\"
|
||||
.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
||||
.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||
.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||
|
@ -29,10 +29,10 @@
|
|||
.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
.\"
|
||||
.\"
|
||||
.\" --(license Id: LICENSE.proto,v 1.1 2000/06/13 21:40:26 cgd Exp )--
|
||||
.\"
|
||||
.Dd Nov 1, 2000
|
||||
.Dd November 1, 2000
|
||||
.Dt LINEDISC 9
|
||||
.Os
|
||||
.Sh NAME
|
||||
|
@ -60,21 +60,21 @@ number.
|
|||
Once the framework has been initialized, a new line
|
||||
discipline can be added by creating and initializing a
|
||||
.Fa struct linesw
|
||||
and calling
|
||||
and calling
|
||||
.Fn ttyldisc_add .
|
||||
.Pp
|
||||
The following is a brief description of each function in the framework:
|
||||
.Bl -tag -width "ttyldisc_remove()"
|
||||
.It Fn ttyldisc_add
|
||||
Register a line discipline. The
|
||||
Register a line discipline. The
|
||||
.Fa l_name
|
||||
field of the
|
||||
field of the
|
||||
.Fa struct linesw
|
||||
should point to a string which is to be the symbolic
|
||||
name of that line discipline. For compatibility
|
||||
name of that line discipline. For compatibility
|
||||
purposes, a line discipline number can be passed in
|
||||
.Fa no ,
|
||||
but for new disciplines this should be set to
|
||||
but for new disciplines this should be set to
|
||||
.Dv -1 .
|
||||
.It Fn ttyldisc_lookup
|
||||
Look up a line discipline by
|
||||
|
@ -83,9 +83,9 @@ Look up a line discipline by
|
|||
is returned if it can not be found.
|
||||
.It Fn ttyldisc_remove
|
||||
Remove a line discipline called
|
||||
.Fa name
|
||||
.Fa name
|
||||
and return a pointer to it. If the discipline cannot
|
||||
be found or removed
|
||||
be found or removed
|
||||
.Fn ttyldisc_remove
|
||||
will return
|
||||
.Dv NULL .
|
||||
|
|
Loading…
Reference in New Issue