.TH kiopriv() "" "" "Internal Kernel Routine"
.PC "Write a bit into the I/O privilege bitmap"
\fBint kiopriv(\fIport\fB, \fIbit\^\fB)\fR
\fBunsigned int \fIport\fB, \fIbit\^\fB;\fR
.PP
.B kiopriv()
writes the bit value
.I bit
into the I/O privilege bitmap for the address of
.IR port .
A
.I bit
value of zero enables user I/O for the port address; whereas a
.I bit
value of one disables user I/O for that port address.
.PP
.B kiopriv()
returns zero if the port address was invalid (i.e.,
out of range for the bitmap); otherwise, it returns one.
.SH "See Also"
.B
internal kernel routines
.R
