]> git.saurik.com Git - apple/libc.git/blobdiff - gen/getttyent.3
Libc-1353.11.2.tar.gz
[apple/libc.git] / gen / getttyent.3
index 56d7a5dc00761224aec1681d556f53b7a5c5c894..98eab3b77cb76e1cafa2c0237c9680697aa5cbf1 100644 (file)
@@ -41,9 +41,6 @@
 .Nm setttyent ,
 .Nm endttyent
 .Nd get ttys file entry
-.Nm isdialuptty ,
-.Nm isnettty
-.Nd determine tty type from ttys file entry
 .Sh LIBRARY
 .Lb libc
 .Sh SYNOPSIS
 .Fn setttyent void
 .Ft int
 .Fn endttyent void
-.Ft int
-.Fn isdialuptty "const char *name"
-.Ft int
-.Fn isnettty "const char *name"
 .Sh DESCRIPTION
 The
 .Fn getttyent ,
@@ -90,8 +83,7 @@ The fields are as follows:
 .It Fa ty_name
 The name of the character-special file.
 .It Fa ty_getty
-The name of the command invoked by
-.Xr init 8
+The name of the command invoked 
 to initialize tty line characteristics.
 .It Fa ty_type
 The name of the default terminal type connected to this tty line.
@@ -101,23 +93,13 @@ tty line.
 The possible flags are as follows:
 .Bl -tag -width TTY_NETWORK
 .It Dv TTY_ON
-Enables logins (i.e.,
-.Xr init 8
-will start the command referenced by
-.Fa ty_getty
-on this entry).
+Enables logins
 .It Dv TTY_SECURE
 Allow users with a uid of 0 to login on this terminal.
 .It Dv TTY_DIALUP
 Identifies a tty as a dialin line.
-If this flag is set, then
-.Fn isdialuptty
-will return a non-zero value.
 .It Dv TTY_NETWORK
 Identifies a tty used for network connections.
-If this flag is set, then
-.Fn isnettty
-will return a non-zero value.
 .El
 .It Fa ty_window
 The command to execute for a window system associated with the line.
@@ -177,14 +159,6 @@ function
 and
 .Fn endttyent
 return 0 on failure and 1 on success.
-.Pp
-The routines
-.Fn isdialuptty
-and
-.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.
 .Sh FILES
 .Bl -tag -width /etc/ttys -compact
 .It Pa /etc/ttys
@@ -196,7 +170,6 @@ zero otherwise.
 .Xr termcap 5 ,
 .Xr ttys 5 ,
 .Xr getty 8 ,
-.Xr init 8
 .Sh HISTORY
 The
 .Fn getttyent ,