.TH outw() "" "" "DDI/DKI Kernel Routine"
.PC "Output a short integer (word) to an I/O port"
.B "#include <sys/types.h>"
\fBvoid outw(\fIport\^\fB, \fIdatum\^\fB)\fR
\fBint \fIport\fB; ushort_t \fIdatum\^\fB;\fR
.PP
.B outw()
writes the short (16-bit) integer
.I datum
to
.IR port .
.SH "See Also"
.B
DDI/DKI kernel routines,
inb(),
inl(),
inw(),
outb(),
outl()
.R
.SH Notes
.B outw()
has base or interrupt level.
It does not sleep.
.PP
A driver can hold a
driver-defined basic lock, read/write lock, or sleep lock
across a call to this function.
.PP
This function is meaningful only on implementations that support I/O-mapped I/O.
