mirror of https://github.com/mkerrisk/man-pages
ffix/wfix
This commit is contained in:
parent
c781c53cbc
commit
5f90f49246
|
@ -41,24 +41,30 @@ opens the file
|
|||
.B _PATH_TTYS
|
||||
(if necessary) and returns the first entry.
|
||||
If the file is already open, the next entry.
|
||||
.SS "The ttyent structure"
|
||||
The
|
||||
.I ttyent
|
||||
structure has the form:
|
||||
.in +0.5i
|
||||
.nf
|
||||
|
||||
struct ttyent {
|
||||
char *ty_name; /* terminal device name */
|
||||
char *ty_getty; /* command to execute, usually getty */
|
||||
char *ty_type; /* terminal type for termcap */
|
||||
int ty_status; /* status flags */
|
||||
char *ty_window; /* command to start up window manager */
|
||||
char *ty_comment; /* comment field */
|
||||
char *ty_name; /* terminal device name */
|
||||
char *ty_getty; /* command to execute, usually getty */
|
||||
char *ty_type; /* terminal type for termcap */
|
||||
int ty_status; /* status flags */
|
||||
char *ty_window; /* command to start up window manager */
|
||||
char *ty_comment; /* comment field */
|
||||
};
|
||||
.fi
|
||||
.in
|
||||
|
||||
.I ty_status
|
||||
can be
|
||||
can be:
|
||||
.br
|
||||
.nf
|
||||
#define TTY_ON 0x01 /* enable logins (start ty_getty program) */
|
||||
#define TTY_SECURE 0x02 /* allow UID 0 to login */
|
||||
|
||||
#define TTY_ON 0x01 /* enable logins (start ty_getty program) */
|
||||
#define TTY_SECURE 0x02 /* allow UID 0 to login */
|
||||
.fi
|
||||
.SH "CONFORMING TO"
|
||||
Not in POSIX.1-2001.
|
||||
|
|
Loading…
Reference in New Issue