summaryrefslogtreecommitdiff
path: root/lib/libc/gen/getttyent.3
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/gen/getttyent.3')
-rw-r--r--lib/libc/gen/getttyent.320
1 files changed, 11 insertions, 9 deletions
diff --git a/lib/libc/gen/getttyent.3 b/lib/libc/gen/getttyent.3
index 4d98f0cdfbd..52cd4c15291 100644
--- a/lib/libc/gen/getttyent.3
+++ b/lib/libc/gen/getttyent.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: getttyent.3,v 1.4 1999/05/23 14:11:00 aaron Exp $
+.\" $OpenBSD: getttyent.3,v 1.5 1999/05/25 01:50:57 aaron Exp $
.\"
.\" Copyright (c) 1989, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -43,16 +43,16 @@
.Sh SYNOPSIS
.Fd #include <ttyent.h>
.Ft struct ttyent *
-.Fn getttyent
+.Fn getttyent "void"
.Ft struct ttyent *
-.Fn getttynam "char *name"
+.Fn getttynam "const char *name"
.Ft int
-.Fn setttyent void
+.Fn setttyent "void"
.Ft int
-.Fn endttyent void
+.Fn endttyent "void"
.Sh DESCRIPTION
The
-.Fn getttyent ,
+.Fn getttyent
and
.Fn getttynam
functions
@@ -101,7 +101,8 @@ on this entry).
Allow users with a uid of 0 to login on this terminal.
.It Dv TTY_LOCAL
If the terminal port's driver supports it, cause the line
-to be treated as ``local.''
+to be treated as
+.Dq local.
.It Dv TTY_MDMBUF
If the terminal port's driver supports it, use
DTR/DCD hardware flow control on the line by default.
@@ -116,8 +117,9 @@ carrier on the line.
.It Fa ty_window
The command to execute for a window system associated with the line.
.It Fa ty_comment
-Any trailing comment field, with any leading hash marks (``#'') or
-whitespace removed.
+Any trailing comment field, with any leading hash marks
+.Pq Sq \&#
+or whitespace removed.
.El
.Pp
If any of the fields pointing to character strings are unspecified,