summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen
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
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')
-rw-r--r--lib/libc/gen/Makefile.inc4
-rw-r--r--lib/libc/gen/getttyent.38
2 files changed, 6 insertions, 6 deletions
diff --git a/lib/libc/gen/Makefile.inc b/lib/libc/gen/Makefile.inc
index f03f297..060359a 100644
--- a/lib/libc/gen/Makefile.inc
+++ b/lib/libc/gen/Makefile.inc
@@ -1,5 +1,5 @@
# @(#)Makefile.inc 8.6 (Berkeley) 5/4/95
-# $Id: Makefile.inc,v 1.47 1998/06/12 15:02:02 peter Exp $
+# $Id: Makefile.inc,v 1.48 1998/07/08 15:42:57 dt Exp $
# machine-independent gen sources
.PATH: ${.CURDIR}/../libc/${MACHINE_ARCH}/gen ${.CURDIR}/../libc/gen
@@ -79,7 +79,7 @@ MLINKS+=getnetgrent.3 endnetgrent.3 getnetgrent.3 innetgr.3 \
MLINKS+=getpwent.3 endpwent.3 getpwent.3 getpwnam.3 getpwent.3 getpwuid.3 \
getpwent.3 setpassent.3 getpwent.3 setpwent.3 getpwent.3 setpwfile.3
MLINKS+=getttyent.3 endttyent.3 getttyent.3 getttynam.3 \
- getttyent.3 isdialuptty.3 getttyent.3 isnetworktty.3 \
+ getttyent.3 isdialuptty.3 getttyent.3 isnettty.3 \
getttyent.3 setttyent.3
MLINKS+=getusershell.3 endusershell.3 getusershell.3 setusershell.3
MLINKS+=getvfsent.3 endvfsent.3 getvfsent.3 getvfsbytype.3 \
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