summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/getttyent.3
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-08-03 15:35:41 +0000
committerbde <bde@FreeBSD.org>1998-08-03 15:35:41 +0000
commit589ee877358e5f5f189e420d6b98a4e2c7c49096 (patch)
tree306812d0378065b69c5d6ce9639fd7a176e809f2 /lib/libc/gen/getttyent.3
parentdf0803d1a14b8a3787c140ab71c68fdc35581151 (diff)
downloadFreeBSD-src-589ee877358e5f5f189e420d6b98a4e2c7c49096.zip
FreeBSD-src-589ee877358e5f5f189e420d6b98a4e2c7c49096.tar.gz
isnetworktty -> isnettty. ttyent.h has already gone through 3
revisions to match the confusing spelling in getttyent.c (1 to break it to match the man page and 1 in each of 2 branches to fix it). This function seems to be orphaned and unused.
Diffstat (limited to 'lib/libc/gen/getttyent.3')
-rw-r--r--lib/libc/gen/getttyent.38
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/gen/getttyent.3 b/lib/libc/gen/getttyent.3
index 7d2e7ba..1d7aece 100644
--- a/lib/libc/gen/getttyent.3
+++ b/lib/libc/gen/getttyent.3
@@ -41,7 +41,7 @@
.Nm endttyent
.Nd get ttys file entry
.Nm isdialuptty ,
-.Nm isnetworktty
+.Nm isnettty
.Nd determine tty type from ttys file entry
.Sh SYNOPSIS
.Fd #include <ttyent.h>
@@ -56,7 +56,7 @@
.Ft int
.Fn isdialuptty "const char *name"
.Ft int
-.Fn isnetworktty "const char *name"
+.Fn isnettty "const char *name"
.Sh DESCRIPTION
The
.Fn getttyent ,
@@ -113,7 +113,7 @@ will return a non-zero value.
.It Dv TTY_NETWORK
Identifies a tty used for network connections.
If this flag is set, then
-.Fn isnetworktty
+.Fn isnettty
will return a non-zero value.
.El
.It Fa ty_window
@@ -178,7 +178,7 @@ return 0 on failure and 1 on success.
The routines
.Fn isdialuptty
and
-.Fn isnetworktty
+.Fn isnettty
return non-zero if the dialup or network flag is set for the
tty entry relating to the tty named by the parameter, and
zero otherwise.
OpenPOWER on IntegriCloud