Correct error in structure definition

This commit is contained in:
Paul Traina 1995-02-23 01:27:17 +00:00
parent 533f4c5076
commit 7fec27e124

View File

@ -29,13 +29,13 @@ The argument passed to the IOCTL is the address of a structure of
the following type: the following type:
.Bd -literal -ffset indent .Bd -literal -ffset indent
struct snptty { struct snptty {
int st_type; /* type of the tty to attach */
int st_unit; /* number of the tty unit */ 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_PTY 0 /* regular pty */
#define ST_VTY 1 /* syscons vty */ #define ST_VTY 1 /* syscons vty */
#define ST_SIO 2 /* serial lines */ #define ST_SIO 2 /* serial lines */
}
.Ed .Ed
.Pp .Pp
By setting st_type or st_unit to -1, the user may detach the snp device By setting st_type or st_unit to -1, the user may detach the snp device