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.
This commit is contained in:
parent
28d2c691c0
commit
8023e3dd93
@ -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 \
|
||||
|
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user