.TH ttioctl() "" "" "Internal Kernel Routine"
.PC "Perform tty I/O control"
.B "#include <sys/tty.h>"
.B "#include <sgtty.h>"
\fBvoid ttioctl(\fItp\^\fB, \fIcom\^\fB, \fIvec\^\fB)\fR
\fBTTY *\fItp\^\fB; int \fIcom\^\fB; struct sgttyb *\fIvec\^\fB;\fR
.PP
.B ttioctl()
handles common typewriter I/O control (ioctl) operations, as defined in
header file
.BR sgtty.h .
It may call \fB(*\fItp\^\fB->t_param)(\fItp\^\fB)\fR
to initialize the hardware.
If an error occurs, it calls
.B set_user_error()
with an appropriate value.
.SH "See Also"
.B
internal kernel routines
.R
