write 16 bit words from buffer to an I/O port
void repoutsw(int port, ushort_t *addr, int cnt);
The repoutsw function provides a C language interface to the
machine instructions that write a string of 16 bit short words
to a 16 bit I/O port using the I/O address space,
instead of the memory address space.
cnt 16 bit words starting at the address pointed to by addr
are written to the I/O port in cnt write operations.
A valid 16 bit I/O port.
The address of the buffer from which cnt 16 bit words
are written to the I/O port.
The number of 16 bit words to be written to the I/O port.
The buffer should be at least cnt 16 bit words in length.
Context and synchronization
Intel IA-32 compatible platforms
1, 2, 3, 4, 5, 5mp, 6, 6mp, 7, 7mp, 7.1, 7.1mp, 8, 8mp
``Programmed I/O (PIO)'' in HDK Technical Reference
19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005