mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-16 10:20:30 +00:00
Correct error in structure definition
This commit is contained in:
parent
533f4c5076
commit
7fec27e124
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=6656
@ -29,13 +29,13 @@ The argument passed to the IOCTL is the address of a structure of
|
||||
the following type:
|
||||
.Bd -literal -ffset indent
|
||||
struct snptty {
|
||||
int st_type; /* type of the tty to attach */
|
||||
int st_unit; /* number of the tty unit */
|
||||
}
|
||||
|
||||
int st_type; /* type of the tty to attach */
|
||||
#define ST_PTY 0 /* regular pty */
|
||||
#define ST_VTY 1 /* syscons vty */
|
||||
#define ST_SIO 2 /* serial lines */
|
||||
}
|
||||
|
||||
.Ed
|
||||
.Pp
|
||||
By setting st_type or st_unit to -1, the user may detach the snp device
|
||||
|
Loading…
Reference in New Issue
Block a user